parent
a18cd29411
commit
9dc5da7dbd
11
net/net.sh
11
net/net.sh
|
@ -76,6 +76,9 @@ Operate a configured testnet
|
||||||
--no-deploy
|
--no-deploy
|
||||||
- Don't deploy new software, use the
|
- Don't deploy new software, use the
|
||||||
existing deployment
|
existing deployment
|
||||||
|
--no-build
|
||||||
|
- Don't build new software, deploy the
|
||||||
|
existing binaries
|
||||||
|
|
||||||
|
|
||||||
sanity/start/update-specific options:
|
sanity/start/update-specific options:
|
||||||
|
@ -125,6 +128,7 @@ maybeSkipLedgerVerify=""
|
||||||
maybeDisableAirdrops=""
|
maybeDisableAirdrops=""
|
||||||
buildProfile="--release"
|
buildProfile="--release"
|
||||||
debugBuild=false
|
debugBuild=false
|
||||||
|
doBuild=true
|
||||||
|
|
||||||
command=$1
|
command=$1
|
||||||
[[ -n $command ]] || usage
|
[[ -n $command ]] || usage
|
||||||
|
@ -148,6 +152,9 @@ while [[ -n $1 ]]; do
|
||||||
elif [[ $1 = --no-deploy ]]; then
|
elif [[ $1 = --no-deploy ]]; then
|
||||||
deployMethod=skip
|
deployMethod=skip
|
||||||
shift 1
|
shift 1
|
||||||
|
elif [[ $1 = --no-build ]]; then
|
||||||
|
doBuild=false
|
||||||
|
shift 1
|
||||||
elif [[ $1 = --skip-ledger-verify ]]; then
|
elif [[ $1 = --skip-ledger-verify ]]; then
|
||||||
maybeSkipLedgerVerify="$1"
|
maybeSkipLedgerVerify="$1"
|
||||||
shift 1
|
shift 1
|
||||||
|
@ -618,7 +625,11 @@ prepare_deploy() {
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
local)
|
local)
|
||||||
|
if $doBuild; then
|
||||||
build
|
build
|
||||||
|
else
|
||||||
|
echo "Build skipped due to --no-build"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
skip)
|
skip)
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue