Run go vet when testing

This commit is contained in:
eikendev 2021-01-16 16:23:29 +01:00
parent 35c33c533b
commit e6ee7378eb
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694

View file

@ -10,6 +10,7 @@ test:
if [ "$$stdout" ]; then \
exit 1; \
fi
go vet ./...
gocyclo -over 10 $(shell find . -iname '*.go' -type f)
go test -v -cover ./...
stdout=$$(golint ./... 2>&1); \