mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
fix installation on windows
This commit is contained in:
parent
c5472f820b
commit
8d42deeac3
1 changed files with 2 additions and 1 deletions
|
@ -129,10 +129,11 @@ 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 run package", "./editors/code")?;
|
||||
} else {
|
||||
run(r"npm install", "./editors/code")?;
|
||||
run(r"npm run package", "./editors/code")?;
|
||||
}
|
||||
run(r"npm run package", "./editors/code")?;
|
||||
if cfg!(windows) {
|
||||
run(
|
||||
r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue