Skip to content

Commit

Permalink
use --locked with cargo install
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mariocynicys committed Nov 12, 2022
1 parent 832dd71 commit d212aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion watchtower-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d212aae

Please sign in to comment.