mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 22:40:12 +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
|
# targets or for development purposes
|
||||||
EXTERNAL_TOOLS=\
|
EXTERNAL_TOOLS=\
|
||||||
golang.org/x/tools/cmd/cover \
|
golang.org/x/tools/cmd/cover \
|
||||||
|
github.com/golang/lint/golint \
|
||||||
github.com/axw/gocov/gocov \
|
github.com/axw/gocov/gocov \
|
||||||
gopkg.in/matm/v1/gocov-html \
|
gopkg.in/matm/v1/gocov-html \
|
||||||
github.com/onsi/ginkgo/ginkgo \
|
github.com/onsi/ginkgo/ginkgo \
|
||||||
|
|
@ -238,3 +239,10 @@ ci:
|
||||||
deploy-images:
|
deploy-images:
|
||||||
@DIMAGE="${IMAGE_ORG}/zfs-driver" ./buildscripts/push
|
@DIMAGE="${IMAGE_ORG}/zfs-driver" ./buildscripts/push
|
||||||
|
|
||||||
|
.PHONY: golint
|
||||||
|
golint:
|
||||||
|
@echo "--> Running golint"
|
||||||
|
@echo "Consider these linter recommendations:"
|
||||||
|
@golint $(PACKAGES)
|
||||||
|
@echo "--------------------------------"
|
||||||
|
@echo ""
|
||||||
|
|
|
||||||
1
changelogs/unreleased/167-vaniisgh
Normal file
1
changelogs/unreleased/167-vaniisgh
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
add golint target to makefile
|
||||||
Loading…
Add table
Add a link
Reference in a new issue