diff --git a/build.sh b/build.sh index 83ea2366..ad89b75b 100755 --- a/build.sh +++ b/build.sh @@ -11,6 +11,8 @@ host=${host%%.*} ldflags="-w -X main.Version $version -X main.BuildStamp $date -X main.BuildUser $user -X main.BuildHost $host" build() { + go vet ./... || exit 1 + if command -v godep >/dev/null ; then godep=godep else