fix golint path. (#124)

as title
This commit is contained in:
Bo-Yi Wu 2018-10-18 10:15:43 +08:00 committed by GitHub
parent 380b28413e
commit 7072e1b688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ vet:
.PHONY: lint
lint:
@which golint > /dev/null; if [ $$? -ne 0 ]; then \
go get -u github.com/golang/lint/golint; \
go get -u golang.org/x/lint/golint; \
fi
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;