-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use --locked with
cargo install
`cargo install` ignores lockfile by default. Without lockfile current build fails due to iroh-net 0.21.0 depending on `derive_more` 1.0.0-beta.6 but failing to compile with `derive_more` 1.0.0.-beta.7. This particular error will be fixed by upgrading to iroh 0.22.0, but using lockfile will avoid similar problems in the future.
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
cargo install --path deltachat-rpc-server/ --root "$PWD/venv" --debug | ||
cargo install --locked --path deltachat-rpc-server/ --root "$PWD/venv" --debug | ||
PATH="$PWD/venv/bin:$PATH" tox -c deltachat-rpc-client |