Improve run.sh for better developer experience (#6945)

* run.sh: Create genesis file for ad-hoc validators

* run.sh: Prefer release under NDEBUG

* run.sh: Add sanity test for run.sh

* run.sh: Conditionally re-gen drone and faucet keys

* Make shellcheck happy

* Address code review comments

* Clean up a bit
This commit is contained in:
Ryo Onodera
2019-11-16 15:56:29 +09:00
committed by GitHub
parent 5d8c1a303e
commit 5ad09afc15
3 changed files with 49 additions and 6 deletions

View File

@ -121,9 +121,11 @@ test-local-cluster)
;;
esac
echo --- ci/localnet-sanity.sh
export CARGO_TOOLCHAIN=+"$rust_stable"
(
set -x
export CARGO_TOOLCHAIN=+"$rust_stable"
echo --- ci/localnet-sanity.sh
ci/localnet-sanity.sh -x
echo --- ci/run-sanity.sh
ci/run-sanity.sh -x
)