mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
Compare commits
2 commits
7a9671ea25
...
d696c17b05
Author | SHA1 | Date | |
---|---|---|---|
d696c17b05 | |||
1607293bb4 |
|
@ -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