mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
Merge branch 'master' of https://github.com/azur1s/hazure
This commit is contained in:
commit
9c1e0927da
|
@ -1,4 +1,4 @@
|
||||||
use std::{fs, io::Write, process::Command, path::PathBuf};
|
use std::{fs, io::Write, path::PathBuf};
|
||||||
|
|
||||||
use clap::Parser as ArgParser;
|
use clap::Parser as ArgParser;
|
||||||
|
|
||||||
|
@ -100,12 +100,6 @@ fn main() {
|
||||||
|
|
||||||
logif!(0, format!("Compilation took {}ms", duration));
|
logif!(0, format!("Compilation took {}ms", duration));
|
||||||
logif!(0, format!("Wrote output to `{}`", output_path.display()));
|
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!(); }
|
None => { unreachable!(); }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue