aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/tools/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs
index 9e90ac5c2..8e5e2036d 100644
--- a/crates/tools/src/main.rs
+++ b/crates/tools/src/main.rs
@@ -129,10 +129,11 @@ fn install_code_extension() -> Result<()> {
129 run("cargo install --path crates/ra_lsp_server --force", ".")?; 129 run("cargo install --path crates/ra_lsp_server --force", ".")?;
130 if cfg!(windows) { 130 if cfg!(windows) {
131 run(r"cmd.exe /c npm.cmd install", "./editors/code")?; 131 run(r"cmd.exe /c npm.cmd install", "./editors/code")?;
132 run(r"cmd.exe /c npm.cmd run package", "./editors/code")?;
132 } else { 133 } else {
133 run(r"npm install", "./editors/code")?; 134 run(r"npm install", "./editors/code")?;
135 run(r"npm run package", "./editors/code")?;
134 } 136 }
135 run(r"npm run package", "./editors/code")?;
136 if cfg!(windows) { 137 if cfg!(windows) {
137 run( 138 run(
138 r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix", 139 r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix",