Ensure "make check" can succeeed if it doesn't find any golint errors.

This commit is contained in:
Lukas Fittl 2016-08-15 23:42:31 -07:00
parent e997d2e3db
commit fc27f01654
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ help: ## Show help
check: ## Check
errcheck -ignore="Close|Run|Write" ./...
golint ./... | egrep -v 'underscores|HttpOnly|should have comment|comment on exported|CamelCase|VM|UID'
golint ./... | egrep -v 'underscores|HttpOnly|should have comment|comment on exported|CamelCase|VM|UID' && exit 1 || exit 0
build_test: ## test only buildable
GOOS=linux go test ./... | grep -v "exec format error"