From d212aae0da8b411ed1236970222ee27975d75f3a Mon Sep 17 00:00:00 2001 From: Omer Yacine Date: Sat, 12 Nov 2022 18:18:10 +0000 Subject: [PATCH] use --locked with cargo install Using --locked with cargo install(s) will instruct cargo to use the lock file in the repo (Cargo.lock). So all the users' builds will be identical to builds in the master branch. Signed-off-by: Omer Yacine --- INSTALL.md | 2 +- watchtower-plugin/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index e340a119..35d422f3 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -5,7 +5,7 @@ The tower can be installed and tested using cargo: ``` git clone https://github.com/talaia-labs/rust-teos.git cd rust-teos -cargo install --path teos +cargo install --locked --path teos ``` You can run tests with: diff --git a/watchtower-plugin/README.md b/watchtower-plugin/README.md index 82f8d3f3..f0738d9a 100644 --- a/watchtower-plugin/README.md +++ b/watchtower-plugin/README.md @@ -25,7 +25,7 @@ The plugin also has an implicit method to send appointments to the registered to The first step to add the plugin to CLN is installing it. To do so you need to run (from the `rust-teos` folder): ``` -cargo install --path watchtower-plugin +cargo install --locked --path watchtower-plugin ``` That will generate a binary called `watchtower-client`. That's the binary we need to link to CLN.