From 3f6cdc829bbe2abee20428f1c3aeb9db7cb66027 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 31 Jul 2014 12:51:50 +0200 Subject: [PATCH] Get cover and goveralls in ./build.sh setup --- build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 39e4fdac8..d42cce873 100755 --- a/build.sh +++ b/build.sh @@ -37,7 +37,7 @@ test-cov() { godep go test -coverprofile=profile.out $dir || fail=1 if [ -f profile.out ] ; then grep -v "mode: set" profile.out >> coverage.out - rm profile.out + rm profile.out fi done @@ -89,10 +89,10 @@ deps() { } setup() { - echo Installing godep... - go get -u github.com/tools/godep - echo Installing go vet... - go get -u code.google.com/p/go.tools/cmd/vet + go get -v -u code.google.com/p/go.tools/cmd/cover + go get -v -u code.google.com/p/go.tools/cmd/vet + go get -v -u github.com/mattn/goveralls + go get -v -u github.com/tools/godep } xdr() {