mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
feat(zfspv) add go lint target (#167)
Signed-off-by: vaniisgh <vanisingh@live.co.uk>
This commit is contained in:
parent
d0d1664d43
commit
ac9d6d5729
2 changed files with 9 additions and 0 deletions
8
Makefile
8
Makefile
|
|
@ -25,6 +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 \
|
||||
github.com/axw/gocov/gocov \
|
||||
gopkg.in/matm/v1/gocov-html \
|
||||
github.com/onsi/ginkgo/ginkgo \
|
||||
|
|
@ -238,3 +239,10 @@ ci:
|
|||
deploy-images:
|
||||
@DIMAGE="${IMAGE_ORG}/zfs-driver" ./buildscripts/push
|
||||
|
||||
.PHONY: golint
|
||||
golint:
|
||||
@echo "--> Running golint"
|
||||
@echo "Consider these linter recommendations:"
|
||||
@golint $(PACKAGES)
|
||||
@echo "--------------------------------"
|
||||
@echo ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue