Skip to content

Commit

Permalink
Exit script/build immediately upon error (#1108)
Browse files Browse the repository at this point in the history
Without this change, errors in the build process do not
cancel the build, leading to additional errors that can obscure the
cause of the build failure.
  • Loading branch information
razzius authored Aug 28, 2024
1 parent 0e336f7 commit 116c5eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/build
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

while [ $# -gt 0 ]
do
case "$1" in
Expand Down
2 changes: 2 additions & 0 deletions script/get-closure-library
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

if [ "${VERBOSE_BUILD:-0}" == "1" ]; then
set -x
fi
Expand Down

0 comments on commit 116c5eb

Please sign in to comment.