Don't build binaries when running make vet

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2017-08-18 14:13:59 -07:00
parent 3f34c421d3
commit 700120c066
No known key found for this signature in database
GPG Key ID: 40CF16616B361216

View File

@ -91,7 +91,7 @@ checkprotos: protos ## check if protobufs needs to be generated again
# Depends on binaries because vet will silently fail if it can't load compiled # Depends on binaries because vet will silently fail if it can't load compiled
# imports # imports
vet: binaries ## run go vet vet: ## run go vet
@echo "$(WHALE) $@" @echo "$(WHALE) $@"
@test -z "$$(go vet ${PACKAGES} 2>&1 | grep -v 'constant [0-9]* not a string in call to Errorf' | grep -v 'unrecognized printf verb 'r'' | egrep -v '(timestamp_test.go|duration_test.go|fetch.go|exit status 1)' | tee /dev/stderr)" @test -z "$$(go vet ${PACKAGES} 2>&1 | grep -v 'constant [0-9]* not a string in call to Errorf' | grep -v 'unrecognized printf verb 'r'' | egrep -v '(timestamp_test.go|duration_test.go|fetch.go|exit status 1)' | tee /dev/stderr)"