Przeglądaj źródła

Update build script to fail on error.

Ben Johnson 12 lat temu
rodzic
commit
4fb3a01f25
2 zmienionych plików z 2 dodań i 0 usunięć
  1. 1 0
      build
  2. 1 0
      test.sh

+ 1 - 0
build

@@ -1,4 +1,5 @@
 #!/bin/sh
+set -e
 
 ETCD_PACKAGE=github.com/coreos/etcd
 export GOPATH="${PWD}"

+ 1 - 0
test.sh

@@ -1,4 +1,5 @@
 #!/bin/sh
+set -e
 
 # Get GOPATH, etc from build
 . ./build