aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorHirokazu Hata <[email protected]>2019-01-23 18:23:15 +0000
committerHirokazu Hata <[email protected]>2019-01-23 18:23:15 +0000
commit0dc60e10acfb1e82dfeb9ab98dc6eabf70a74530 (patch)
tree5db80bd2e5b75780addf313f268ba7906e23a17d /crates
parent5ced113e1cf79ce6aa1edd574dde4b845e78d562 (diff)
Use npm ci instead of install
Diffstat (limited to 'crates')
-rw-r--r--crates/tools/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs
index 5597aae5a..d6eabce6c 100644
--- a/crates/tools/src/main.rs
+++ b/crates/tools/src/main.rs
@@ -150,10 +150,10 @@ fn existing_tests(dir: &Path, ok: bool) -> Result<HashMap<String, (PathBuf, Test
150fn install_code_extension() -> Result<()> { 150fn install_code_extension() -> Result<()> {
151 run("cargo install --path crates/ra_lsp_server --force", ".")?; 151 run("cargo install --path crates/ra_lsp_server --force", ".")?;
152 if cfg!(windows) { 152 if cfg!(windows) {
153 run(r"cmd.exe /c npm.cmd install", "./editors/code")?; 153 run(r"cmd.exe /c npm.cmd ci", "./editors/code")?;
154 run(r"cmd.exe /c npm.cmd run package", "./editors/code")?; 154 run(r"cmd.exe /c npm.cmd run package", "./editors/code")?;
155 } else { 155 } else {
156 run(r"npm install", "./editors/code")?; 156 run(r"npm ci", "./editors/code")?;
157 run(r"npm run package", "./editors/code")?; 157 run(r"npm run package", "./editors/code")?;
158 } 158 }
159 if cfg!(windows) { 159 if cfg!(windows) {