Skip to content

Commit

Permalink
Add 'go vet' to 'make test'
Browse files Browse the repository at this point in the history
+ make go test more verbose
  • Loading branch information
jsafrane committed Nov 1, 2017
1 parent 572c5c3 commit 9d5934c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@

.PHONY: all csi-attacher clean test

ifdef V
TESTARGS = -v -args -alsologtostderr -v 5
else
TESTARGS =
endif

all: csi-attacher

csi-attacher:
Expand All @@ -23,4 +29,5 @@ clean:
-rm -rf csi-attacher

test:
go test `go list ./... | grep -v 'vendor'`
go test `go list ./... | grep -v 'vendor'` $(TESTARGS)
go vet `go list ./... | grep -v vendor`

0 comments on commit 9d5934c

Please sign in to comment.