浏览代码

Merge pull request #248 from benbjohnson/build-fail

Update build script to fail on error.
Ben Johnson 12 年之前
父节点
当前提交
088a01f19c
共有 2 个文件被更改,包括 2 次插入0 次删除
  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