fix: remove code generation
This commit is contained in:
1 parent
ac4faec570
commit
ca0d7dc268
11 files changed
+31
-1304
No files matched your search
@@ -1,16 +0,0 @@
|
||||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-changed=interpreter.ts");
|
||||
|
||||
match Command::new("tsc").spawn() {
|
||||
Ok(_) => println!("Was spawned :)"),
|
||||
Err(e) => {
|
||||
if let std::io::ErrorKind::NotFound = e.kind() {
|
||||
println!("`tsc` was not found! Not going to generate new interpreter")
|
||||
} else {
|
||||
println!("Some strange error occurred :(");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user