mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
Use npm ci instead of install
This commit is contained in:
parent
5ced113e1c
commit
0dc60e10ac
1 changed files with 2 additions and 2 deletions
|
@ -150,10 +150,10 @@ fn existing_tests(dir: &Path, ok: bool) -> Result<HashMap<String, (PathBuf, Test
|
|||
fn install_code_extension() -> Result<()> {
|
||||
run("cargo install --path crates/ra_lsp_server --force", ".")?;
|
||||
if cfg!(windows) {
|
||||
run(r"cmd.exe /c npm.cmd install", "./editors/code")?;
|
||||
run(r"cmd.exe /c npm.cmd ci", "./editors/code")?;
|
||||
run(r"cmd.exe /c npm.cmd run package", "./editors/code")?;
|
||||
} else {
|
||||
run(r"npm install", "./editors/code")?;
|
||||
run(r"npm ci", "./editors/code")?;
|
||||
run(r"npm run package", "./editors/code")?;
|
||||
}
|
||||
if cfg!(windows) {
|
||||
|
|
Loading…
Reference in a new issue