mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
feat(zfspv) Add golint check to travis (#175)
Signed-off-by: vaniisgh <vanisingh@live.co.uk>
This commit is contained in:
parent
8b7ad5cb45
commit
8bbf3d7d2f
34 changed files with 321 additions and 266 deletions
6
Makefile
6
Makefile
|
|
@ -25,7 +25,7 @@ VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods \
|
|||
# targets or for development purposes
|
||||
EXTERNAL_TOOLS=\
|
||||
golang.org/x/tools/cmd/cover \
|
||||
github.com/golang/lint/golint \
|
||||
golang.org/x/lint/golint \
|
||||
github.com/axw/gocov/gocov \
|
||||
gopkg.in/matm/v1/gocov-html \
|
||||
github.com/onsi/ginkgo/ginkgo \
|
||||
|
|
@ -242,7 +242,7 @@ deploy-images:
|
|||
.PHONY: golint
|
||||
golint:
|
||||
@echo "--> Running golint"
|
||||
@echo "Consider these linter recommendations:"
|
||||
@golint $(PACKAGES)
|
||||
@golint -set_exit_status $(PACKAGES)
|
||||
@echo "Completed golint no recommendations !!"
|
||||
@echo "--------------------------------"
|
||||
@echo ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue