Skip to content

Commit 429b71e

Browse files
committed
Fail build.sh if any command in it fails
1 parent 466d6ce commit 429b71e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/multi-language-repo/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -eo pipefail
23

34
gcc -o main main.c
45

0 commit comments

Comments
 (0)