Explorar el Código

Update build script to fail on error.

Ben Johnson hace 12 años
padre
commit
4fb3a01f25
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  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