Skip to content

Commit

Permalink
Make all scripts fail on error
Browse files Browse the repository at this point in the history
  • Loading branch information
costashatz committed Aug 26, 2024
1 parent 134e3a3 commit d3ace9a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ci/install_dart_latest.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set -e

# Select Compiler
if [ "$COMPILER" = "gcc" ]; then
export CC=/usr/bin/gcc && export CXX=/usr/bin/g++
Expand Down
2 changes: 2 additions & 0 deletions ci/install_magnum.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set -e

# Select Compiler
if [ "$COMPILER" = "gcc" ]; then
export CC=/usr/bin/gcc && export CXX=/usr/bin/g++
Expand Down
2 changes: 2 additions & 0 deletions ci/install_packages.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set -e

sudo apt-get -qq update
sudo apt-get -y install software-properties-common mlocate
sudo apt-add-repository -y ppa:dartsim/ppa
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_osx.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set -x
set -e

CLEAN=0

Expand Down
2 changes: 2 additions & 0 deletions scripts/install_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set -e

CLEAN=0

CLEAN=${1:-$CLEAN}
Expand Down

0 comments on commit d3ace9a

Please sign in to comment.