mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 04:20:46 +00:00
Use npm install rather than ci and only run build.rs when styles/src is changed rather than all styles
This commit is contained in:
parent
d6024117d8
commit
42e88c43a4
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ fn main() {
|
|||
|
||||
let output = Command::new("npm")
|
||||
.current_dir("../../styles")
|
||||
.args(["ci"])
|
||||
.args(["install"])
|
||||
.output()
|
||||
.expect("failed to run npm");
|
||||
if !output.status.success() {
|
||||
|
@ -27,5 +27,5 @@ fn main() {
|
|||
);
|
||||
}
|
||||
|
||||
println!("cargo:rerun-if-changed=../../styles");
|
||||
println!("cargo:rerun-if-changed=../../styles/src");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue