mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
Compare commits
No commits in common. "d696c17b05ddcae8cc4c885a2b8f5428e0194b0c" and "7a9671ea2566d821948054b48fd3637d3f4b5449" have entirely different histories.
d696c17b05
...
7a9671ea25
|
@ -1,4 +1,4 @@
|
|||
use std::{fs, io::Write, path::PathBuf};
|
||||
use std::{fs, io::Write, process::Command, path::PathBuf};
|
||||
|
||||
use clap::Parser as ArgParser;
|
||||
|
||||
|
@ -100,6 +100,12 @@ fn main() {
|
|||
|
||||
logif!(0, format!("Compilation took {}ms", duration));
|
||||
logif!(0, format!("Wrote output to `{}`", output_path.display()));
|
||||
|
||||
Command::new("chmod")
|
||||
.arg("+x")
|
||||
.arg(&output_path)
|
||||
.spawn()
|
||||
.expect("Failed to chmod file");
|
||||
},
|
||||
None => { unreachable!(); }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue