aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-17 08:26:41 +0000
committerAleksey Kladov <[email protected]>2018-12-17 08:26:41 +0000
commit8d42deeac354d1f8297d6c4d52b2707fb8d7a771 (patch)
tree6bd1d3d107f5885f4765bd8573c69dcd32bb2ef0 /crates
parentc5472f820b36ba39a20b8dd5afce9bcf676fa4ac (diff)
fix installation on windows
Diffstat (limited to 'crates')
-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",