Fail if build fails so Makefile knows something went wrong

pull/1624/head
Nye Liu 5 years ago
parent 563ceb5050
commit 7715154d02
  1. 2
      scripts/go_executable_build.sh

@ -94,6 +94,8 @@ function build_only
BUILTBY=${USER}@
local build=$1
set -e
for bin in "${!SRC[@]}"; do
if [[ -z "$build" || "$bin" == "$build" ]]; then
rm -f $BINDIR/$bin

Loading…
Cancel
Save