aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/main.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-11-20 20:27:03 +0000
committerAleksey Kladov <[email protected]>2019-11-20 20:27:03 +0000
commitad2b6cad48dc336011c9fb24ba87b318b796b916 (patch)
tree82d4fb25975f01a38977b2f0164b2d7b063bcbc3 /xtask/src/main.rs
parenta025303ca686ed3e54164a04319a028931f54284 (diff)
Remove npm.cmd
I *think* this is more correct
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r--xtask/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 4b1f0c887..c97bfec97 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -173,7 +173,7 @@ fn fix_path_for_mac() -> Result<()> {
173fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> { 173fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
174 let npm_version = Cmd { 174 let npm_version = Cmd {
175 unix: r"npm --version", 175 unix: r"npm --version",
176 windows: r"cmd.exe /c npm.cmd --version", 176 windows: r"cmd.exe /c npm --version",
177 work_dir: "./editors/code", 177 work_dir: "./editors/code",
178 } 178 }
179 .run(); 179 .run();
@@ -182,10 +182,10 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
182 eprintln!("\nERROR: `npm --version` failed, `npm` is required to build the VS Code plugin") 182 eprintln!("\nERROR: `npm --version` failed, `npm` is required to build the VS Code plugin")
183 } 183 }
184 184
185 Cmd { unix: r"npm ci", windows: r"cmd.exe /c npm.cmd ci", work_dir: "./editors/code" }.run()?; 185 Cmd { unix: r"npm ci", windows: r"cmd.exe /c npm ci", work_dir: "./editors/code" }.run()?;
186 Cmd { 186 Cmd {
187 unix: r"npm run package --scripts-prepend-node-path", 187 unix: r"npm run package --scripts-prepend-node-path",
188 windows: r"cmd.exe /c npm.cmd run package", 188 windows: r"cmd.exe /c npm run package",
189 work_dir: "./editors/code", 189 work_dir: "./editors/code",
190 } 190 }
191 .run()?; 191 .run()?;