Skip to content

Commit 2f4cbd9

Browse files
authored
Merge pull request #413 from hqhq/optimal_golint
Makefile: use -set_exit_status for golint
2 parents fc994d5 + b854bf6 commit 2f4cbd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test: .gofmt .govet .golint .gotest
5454
go vet -x $(PACKAGES)
5555

5656
.golint:
57-
OUT=$$(golint $(PACKAGES)); if test -n "$${OUT}"; then echo "$${OUT}" && exit 1; fi
57+
golint -set_exit_status $(PACKAGES)
5858

5959
UTDIRS = ./validate/...
6060
.gotest:

0 commit comments

Comments
 (0)