Make `cargo run` use `zebrad` by default
When `cargo run` is run in the workspace directory, it can see two executables: - `zebrad` - `zebra_checkpoints` Adding `default-run = "zebrad"` to `zebrad/Cargo.toml` makes the workspace run `zebrad` by default. (Even though it's redundant for the `zebrad` crate itself.)
This commit is contained in:
parent
f222a6805b
commit
40c427cf7c
|
@ -5,6 +5,9 @@ license = "MIT OR Apache-2.0"
|
||||||
version = "1.0.0-alpha.0"
|
version = "1.0.0-alpha.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
repository = "https://github.com/ZcashFoundation/zebra"
|
repository = "https://github.com/ZcashFoundation/zebra"
|
||||||
|
# make `cargo run` use `zebrad` by default
|
||||||
|
# when run in the workspace directory
|
||||||
|
default-run = "zebrad"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
zebra-chain = { path = "../zebra-chain" }
|
zebra-chain = { path = "../zebra-chain" }
|
||||||
|
|
Loading…
Reference in New Issue