Skip to content

Commit

Permalink
Default build-all script to debug (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgarfield authored Feb 17, 2023
1 parent bbc86fd commit 4ceea7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ EOF
# Set build flags
maybeRustVersion=
installDir=
buildVariant=release
maybeReleaseFlag=--release
buildVariant=debug
maybeReleaseFlag=
while [[ -n $1 ]]; do
if [[ ${1:0:1} = - ]]; then
if [[ $1 = --debug ]]; then
maybeReleaseFlag=
buildVariant=debug
if [[ $1 = --release ]]; then
maybeReleaseFlag=--release
buildVariant=release
shift
else
usage "Unknown option: $1"
Expand Down

0 comments on commit 4ceea7d

Please sign in to comment.