aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-08-20 17:27:33 +0100
committerAleksey Kladov <[email protected]>2019-08-20 17:27:33 +0100
commit1ae186a4cc3fd108caec8cecfdb7e0bc02aa079c (patch)
treee92c85bed9e50bc1bf5f411047a0468b8de4c2a7
parentc7d37e424f1e04f87982233f97e1e9385191b7f1 (diff)
make sure lockfile is used for cargo install
-rw-r--r--crates/ra_tools/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_tools/src/main.rs b/crates/ra_tools/src/main.rs
index 03cb9d5a7..33badf290 100644
--- a/crates/ra_tools/src/main.rs
+++ b/crates/ra_tools/src/main.rs
@@ -149,8 +149,8 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
149 149
150fn install_server(opts: ServerOpt) -> Result<()> { 150fn install_server(opts: ServerOpt) -> Result<()> {
151 if opts.jemalloc { 151 if opts.jemalloc {
152 run("cargo install --path crates/ra_lsp_server --force --features jemalloc", ".") 152 run("cargo install --path crates/ra_lsp_server --locked --force --features jemalloc", ".")
153 } else { 153 } else {
154 run("cargo install --path crates/ra_lsp_server --force", ".") 154 run("cargo install --path crates/ra_lsp_server --locked --force", ".")
155 } 155 }
156} 156}