Skip to content

Commit 36e406a

Browse files
authored
Allow devnet scripts to clean specific crates (#534)
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.
1 parent 90eeb2c commit 36e406a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/devnet/devnet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ echo "Config files generated in '$configdir'"
217217
echo "Initializing genesis..."
218218
export NIMIQ_OVERRIDE_DEVNET_CONFIG="$PWD/$configdir/dev-albatross.toml"
219219
echo "Compiling the code using genesis from '$NIMIQ_OVERRIDE_DEVNET_CONFIG' ..."
220-
$cargo_clean
220+
$cargo_clean -p nimiq-genesis
221221
$cargo_build
222222
echo "Done."
223223

scripts/devnet_docker_scenario.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ echo "Copying the genesis and docker compose files... "
5151
#Compile the code
5252
echo "Compiling the code using '$tmp_dir/dev-albatross.toml' ..."
5353
export NIMIQ_OVERRIDE_DEVNET_CONFIG=$tmp_dir/dev-albatross.toml
54-
cargo clean --release
54+
cargo clean -p nimiq-genesis --release
5555
cargo build --release
5656

5757
echo "Create docker images... "

0 commit comments

Comments
 (0)