Skip to content

Commit

Permalink
scripts: make scripts fail
Browse files Browse the repository at this point in the history
For CI to pick up build errors etc. it's necessary to make the scripts
fail as errors.

Signed-off-by: Hans Binderup <[email protected]>
  • Loading branch information
hansbinderup committed Feb 28, 2025
1 parent 5121e03 commit 9b202aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

BUILD_DIR=".build"
RUN=false

Expand Down
2 changes: 2 additions & 0 deletions scripts/debug.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

BUILD_DIR=".debug"

if [ ! -d "$BUILD_DIR" ]; then
Expand Down
2 changes: 2 additions & 0 deletions scripts/unit_test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

BUILD_DIR=".build-tests"


Expand Down

0 comments on commit 9b202aa

Please sign in to comment.