Skip to content

Commit

Permalink
no need to vet examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jprobinson committed Jul 19, 2017
1 parent 962b2af commit ce4c4c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ lint: testdeps
done

vet: testdeps
go vet github.com/NYTimes/gizmo/...
for file in $$(find . -name '*.go' | grep -v 'examples\|_test.go'); do \
golint $${file}; \
if [ -n "$$(go vet $${file})" ]; then \
exit 1; \
fi; \
done

errcheck: testdeps
go get -v github.com/kisielk/errcheck
Expand Down

0 comments on commit ce4c4c9

Please sign in to comment.