|
|
@ -129,7 +129,7 @@ errcheck: |
|
|
|
.PHONY: lint |
|
|
|
lint: |
|
|
|
@hash golint > /dev/null 2>&1; 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; |
|
|
|
|
|
|
|