lint and vet examples, with a few exceptions
This commit is contained in:
parent
ee5400dc9f
commit
db3bf49cdd
5
bios.sh
5
bios.sh
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user