lint and vet examples, with a few exceptions

This commit is contained in:
Noah Zoschke 2018-01-26 09:37:05 -08:00
parent ee5400dc9f
commit db3bf49cdd

View File

@ -7,7 +7,10 @@ git reset --hard $SHA
go get github.com/russross/blackfriday
PKGS=$(go list $PKG/... | grep -v examples)
PKGS=$(go list $PKG/... | grep -v examples/variables)
run -s "Linting" golint -set_exit_status $PKGS
PKGS=$(go list $PKG/... | grep -v examples/panic)
run -s "Vetting" go vet -x $PKGS
run -s "Building" tools/build