ci: move gen folder out of src
This commit is contained in:
1 parent
86bac80040
commit
b4923b2b81
5 files changed
+4
-1
No files matched your search
@@ -2,6 +2,7 @@ use std::process::Command;
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("cargo:rerun-if-changed=interpreter.ts");
|
println!("cargo:rerun-if-changed=interpreter.ts");
|
||||||
|
|
||||||
match Command::new("tsc").spawn() {
|
match Command::new("tsc").spawn() {
|
||||||
Ok(_) => println!("Was spawned :)"),
|
Ok(_) => println!("Was spawned :)"),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -1 +1 @@
|
|||||||
pub static INTERPRTER_JS: &str = include_str!("../interpreter.js");
|
pub static INTERPRTER_JS: &str = include_str!("../gen/interpreter.js");
|
||||||
@@ -8,6 +8,8 @@
|
|||||||
"es6",
|
"es6",
|
||||||
"dom"
|
"dom"
|
||||||
],
|
],
|
||||||
|
"rootDir": "src",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
"outDir": "gen",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user