mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
`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.
7 lines
201 B
Bash
Executable File
7 lines
201 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
tox -c deltachat-rpc-client -e py --devenv venv
|
|
venv/bin/pip install --upgrade pip
|
|
cargo install --locked --path deltachat-rpc-server/ --root "$PWD/venv" --debug
|