Suppress printing all go get commands for linters

This commit is contained in:
Peter Edge 2018-02-17 23:53:33 +01:00
parent 81ca2bca7d
commit 8544635a7e
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ install:
.PHONY: golint .PHONY: golint
golint: golint:
go get github.com/golang/lint/golint @go get github.com/golang/lint/golint
for file in $(SRCS); do \ for file in $(SRCS); do \
golint $${file}; \ golint $${file}; \
if [ -n "$$(golint $${file})" ]; then \ if [ -n "$$(golint $${file})" ]; then \
@ -39,7 +39,7 @@ vet:
.PHONY: .PHONY:
errcheck: errcheck:
go get github.com/kisielk/errcheck @go get github.com/kisielk/errcheck
errcheck $(PKGS) errcheck $(PKGS)
.PHONY: staticcheck .PHONY: staticcheck