Skip to content

Commit

Permalink
Allow devnet scripts to clean specific crates
Browse files Browse the repository at this point in the history
Now that the issue in nightly `rustc` reported
[here](rust-lang/rust#92163) is fixed,
allow the devnet scripts to only clean the `nimiq-genesis` crate.
  • Loading branch information
jsdanielh committed Jan 3, 2022
1 parent 90eeb2c commit 0680910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/devnet/devnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ echo "Config files generated in '$configdir'"
echo "Initializing genesis..."
export NIMIQ_OVERRIDE_DEVNET_CONFIG="$PWD/$configdir/dev-albatross.toml"
echo "Compiling the code using genesis from '$NIMIQ_OVERRIDE_DEVNET_CONFIG' ..."
$cargo_clean
$cargo_clean -p nimiq-genesis
$cargo_build
echo "Done."

Expand Down
2 changes: 1 addition & 1 deletion scripts/devnet_docker_scenario.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ echo "Copying the genesis and docker compose files... "
#Compile the code
echo "Compiling the code using '$tmp_dir/dev-albatross.toml' ..."
export NIMIQ_OVERRIDE_DEVNET_CONFIG=$tmp_dir/dev-albatross.toml
cargo clean --release
cargo clean -p nimiq-genesis --release
cargo build --release

echo "Create docker images... "
Expand Down

0 comments on commit 0680910

Please sign in to comment.