Skip to content

Commit

Permalink
feat(zfspv) add go lint target (#167)
Browse files Browse the repository at this point in the history
Signed-off-by: vaniisgh <vanisingh@live.co.uk>
  • Loading branch information
vaniisgh authored Jun 30, 2020
1 parent d0d1664 commit ac9d6d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 ""
1 change: 1 addition & 0 deletions changelogs/unreleased/167-vaniisgh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add golint target to makefile

0 comments on commit ac9d6d5

Please sign in to comment.