ci: move gen folder out of src

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

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) => {

View file

@ -1 +1 @@
pub static INTERPRTER_JS: &str = include_str!("../interpreter.js");
pub static INTERPRTER_JS: &str = include_str!("../gen/interpreter.js");

View file

@ -8,6 +8,8 @@
"es6",
"dom"
],
"rootDir": "src",
"strict": true,
"outDir": "gen",
}
}