Skip to content

Commit 2f6f5f8

Browse files
committed
Add make gocyclo
1 parent a66264e commit 2f6f5f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ golint:
135135
@for dir in $(shell go list ./... | grep -v /vendor/); do golint $$dir; done
136136

137137

138+
gocyclo:
139+
go get github.com/fzipp/gocyclo
140+
gocyclo -over 15 $(shell find . -name "*.go" -not -name "*test.go" | grep -v /vendor/)
141+
142+
138143
party:
139144
party -c -d=vendor
140145

0 commit comments

Comments
 (0)