Enable debug builds by default for better backtraces

This commit is contained in:
Michael Vines
2018-11-17 10:09:05 -08:00
committed by Grimes
parent 201a4b7b2a
commit 33a5d5fe93
2 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,7 @@ else
if [[ "$program" = drone ]]; then
maybe_package="--package solana-drone"
fi
if [[ -z $DEBUG ]]; then
if [[ -n $NDEBUG ]]; then
maybe_release=--release
fi
printf "cargo run $maybe_release $maybe_package --bin solana-%s %s -- " "$program" "$features"