diff --git a/README.md b/README.md index 129ae37b4..98bbbb1c2 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,13 @@ $ curl https://sh.rustup.rs -sSf | sh Compile and run Delta Chat Core command line utility, using `cargo`: ``` -$ cargo run -p deltachat-repl -- ~/deltachat-db +$ cargo run --locked -p deltachat-repl -- ~/deltachat-db ``` where ~/deltachat-db is the database file. Delta Chat will create it if it does not exist. Optionally, install `deltachat-repl` binary with ``` -$ cargo install --path deltachat-repl/ +$ cargo install --locked --path deltachat-repl/ ``` and run as ``` diff --git a/scripts/make-rpc-testenv.sh b/scripts/make-rpc-testenv.sh index 8aa5b6f54..74a41b896 100755 --- a/scripts/make-rpc-testenv.sh +++ b/scripts/make-rpc-testenv.sh @@ -3,4 +3,4 @@ set -euo pipefail tox -c deltachat-rpc-client -e py --devenv venv venv/bin/pip install --upgrade pip -cargo install --path deltachat-rpc-server/ --root "$PWD/venv" --debug +cargo install --locked --path deltachat-rpc-server/ --root "$PWD/venv" --debug diff --git a/scripts/run-rpc-test.sh b/scripts/run-rpc-test.sh index 7220d47a6..a8ae278cc 100755 --- a/scripts/run-rpc-test.sh +++ b/scripts/run-rpc-test.sh @@ -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