mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 21:26:14 +03: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
@ -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 New Issue
Block a user