mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
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.
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user