diff --git a/script/bootstrap b/script/bootstrap index 6673e69..33240d9 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -1,6 +1,6 @@ #!/bin/bash -gopack="bin/gp-darwin-amd64" -[ -d "/proc" ] && gopack="bin/gp-linux-amd64" - -$gopack version +set -e +echo "Installing dependencies" +go get ./... +go get github.com/bmizerany/assert diff --git a/script/fmt b/script/fmt deleted file mode 100755 index baf9d6a..0000000 --- a/script/fmt +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -GOPATH="`pwd`/.gopack/vendor" \ - go fmt ./... diff --git a/script/test b/script/test index 8cb2c7b..8d200f7 100755 --- a/script/test +++ b/script/test @@ -1,5 +1,5 @@ #!/bin/bash -script/fmt -GOPATH="`pwd`/.gopack/vendor" \ - go test -v ./... +script/bootstrap +go fmt +go test -v ./...