aboutsummaryrefslogtreecommitdiff
path: root/crates/tools/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tools/src')
-rw-r--r--crates/tools/src/lib.rs5
-rw-r--r--crates/tools/src/main.rs5
2 files changed, 2 insertions, 8 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs
index c2123db99..674b9d11f 100644
--- a/crates/tools/src/lib.rs
+++ b/crates/tools/src/lib.rs
@@ -112,10 +112,7 @@ pub fn run_rustfmt(mode: Mode) -> Result<()> {
112fn install_rustfmt() -> Result<()> { 112fn install_rustfmt() -> Result<()> {
113 run(&format!("rustup install {}", TOOLCHAIN), ".")?; 113 run(&format!("rustup install {}", TOOLCHAIN), ".")?;
114 run( 114 run(
115 &format!( 115 &format!("rustup component add rustfmt --toolchain {}", TOOLCHAIN),
116 "rustup component add rustfmt-preview --toolchain {}",
117 TOOLCHAIN
118 ),
119 ".", 116 ".",
120 ) 117 )
121} 118}
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs
index d2a6aa94f..36a7c83e2 100644
--- a/crates/tools/src/main.rs
+++ b/crates/tools/src/main.rs
@@ -127,10 +127,7 @@ fn install_code_extension() -> Result<()> {
127 } else { 127 } else {
128 run(r"npm install", "./editors/code")?; 128 run(r"npm install", "./editors/code")?;
129 } 129 }
130 run( 130 run(r"npm run package", "./editors/code")?;
131 r"node ./node_modules/vsce/out/vsce package",
132 "./editors/code",
133 )?;
134 if cfg!(windows) { 131 if cfg!(windows) {
135 run( 132 run(
136 r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix", 133 r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix",