Skip to content

Commit

Permalink
Fail the build if gcc is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed May 3, 2024
1 parent e3bcfd0 commit 20f4317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/compile-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ mkdir -p build
compile() {
compiler=$1
command -v "$compiler" >/dev/null 2>&1 || {
echo "[WARNING] Skipping invocation: $@"
return
echo "[ERROR] No compiler installed: $compiler"
exit 1
}
shift
(set -x; "$compiler" \
Expand Down

0 comments on commit 20f4317

Please sign in to comment.