parent
380b28413e
commit
7072e1b688
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ vet:
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint:
|
lint:
|
||||||
@which golint > /dev/null; if [ $$? -ne 0 ]; then \
|
@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
|
fi
|
||||||
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
|
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue