Browse Source

Update build script to fail on error.

Ben Johnson 12 years ago
parent
commit
4fb3a01f25
2 changed files with 2 additions and 0 deletions
  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