mirror of
https://github.com/denoland/deno
synced 2024-08-27 12:00:17 +00:00
build: remove redundant rerun-if-changed for compiler snapshot (#20094)
Not sure why `40_testing.js` is there. The other two `00_typescript.js` and `99_main_compiler.js` should be covered by `files_loaded_during_snapshot` at the end. This helps with `__runtime_js_sources` wrt changing `40_testing.js`.
This commit is contained in:
parent
b9b0386948
commit
7ce8c2a1f1
12
cli/build.rs
12
cli/build.rs
|
@ -224,18 +224,6 @@ mod ts {
|
|||
path_dts.join(format!("lib.{name}.d.ts")).display()
|
||||
);
|
||||
}
|
||||
println!(
|
||||
"cargo:rerun-if-changed={}",
|
||||
cwd.join("tsc").join("00_typescript.js").display()
|
||||
);
|
||||
println!(
|
||||
"cargo:rerun-if-changed={}",
|
||||
cwd.join("tsc").join("99_main_compiler.js").display()
|
||||
);
|
||||
println!(
|
||||
"cargo:rerun-if-changed={}",
|
||||
cwd.join("js").join("40_testing.js").display()
|
||||
);
|
||||
|
||||
// create a copy of the vector that includes any op crate libs to be passed
|
||||
// to the JavaScript compiler to build into the snapshot
|
||||
|
|
Loading…
Reference in a new issue