ci: move gen folder out of src

This commit is contained in:
Jonathan Kelley committed 2022-02-01 16:07:50 -05:00
1 parent 86bac80040
commit b4923b2b81
5 files changed
+4 -1

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ use std::process::Command;
fn main() {
println!("cargo:rerun-if-changed=interpreter.ts");
match Command::new("tsc").spawn() {
Ok(_) => println!("Was spawned :)"),
Err(e) => {
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -1 +1 @@
pub static INTERPRTER_JS: &str = include_str!("../interpreter.js");
pub static INTERPRTER_JS: &str = include_str!("../gen/interpreter.js");
+2
View File
@@ -8,6 +8,8 @@
"es6",
"dom"
],
"rootDir": "src",
"strict": true,
"outDir": "gen",
}
}