From cec1984134f37c549c65fa3b56f4ce2953f19045 Mon Sep 17 00:00:00 2001 From: Jean-Marc Meessen Date: Tue, 23 Jun 2020 14:42:14 +0200 Subject: [PATCH] Add stop on error to the bash scripts --- build.sh | 3 +++ test.sh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/build.sh b/build.sh index 64b97c2..f05a7df 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,6 @@ #!/bin/bash + +set -e + go build go test ./... \ No newline at end of file diff --git a/test.sh b/test.sh index 6651f0a..484b804 100755 --- a/test.sh +++ b/test.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + go build go test ./...