Run vet when building

This commit is contained in:
Jakob Borg 2014-05-02 21:59:36 +02:00
parent 647165ab89
commit b3d19bd5cc
1 changed files with 2 additions and 0 deletions

View File

@ -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