Jelajahi Sumber

Merge pull request #248 from benbjohnson/build-fail

Update build script to fail on error.
Ben Johnson 12 tahun lalu
induk
melakukan
088a01f19c
2 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 1 0
      build
  2. 1 0
      test.sh

+ 1 - 0
build

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

+ 1 - 0
test.sh

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