Merge pull request #239 from lfittl/fix-make-check-condition

Ensure "make check" can succeeed if it doesn't find any golint errors
pull/240/head
shirou 9 years ago committed by GitHub
commit 188e6d5436

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

Loading…
Cancel
Save