Ver Fonte

Update build script to fail on error.

Ben Johnson há 12 anos atrás
pai
commit
4fb3a01f25
2 ficheiros alterados com 2 adições e 0 exclusões
  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