From 1ae186a4cc3fd108caec8cecfdb7e0bc02aa079c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 20 Aug 2019 19:27:33 +0300 Subject: make sure lockfile is used for cargo install --- crates/ra_tools/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_tools/src') 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<()> { fn install_server(opts: ServerOpt) -> Result<()> { if opts.jemalloc { - run("cargo install --path crates/ra_lsp_server --force --features jemalloc", ".") + run("cargo install --path crates/ra_lsp_server --locked --force --features jemalloc", ".") } else { - run("cargo install --path crates/ra_lsp_server --force", ".") + run("cargo install --path crates/ra_lsp_server --locked --force", ".") } } -- cgit v1.2.3