Skip to content

Commit 8d42dee

Browse files
committed
fix installation on windows
1 parent c5472f8 commit 8d42dee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/tools/src/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,11 @@ fn install_code_extension() -> Result<()> {
129129
run("cargo install --path crates/ra_lsp_server --force", ".")?;
130130
if cfg!(windows) {
131131
run(r"cmd.exe /c npm.cmd install", "./editors/code")?;
132+
run(r"cmd.exe /c npm.cmd run package", "./editors/code")?;
132133
} else {
133134
run(r"npm install", "./editors/code")?;
135+
run(r"npm run package", "./editors/code")?;
134136
}
135-
run(r"npm run package", "./editors/code")?;
136137
if cfg!(windows) {
137138
run(
138139
r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix",

0 commit comments

Comments
 (0)