fix Makefile to run predeclared check (#24)
This commit is contained in:
parent
224c3acd1d
commit
09a863d763
3
Makefile
3
Makefile
|
|
@ -45,6 +45,7 @@ ineffassign:
|
||||||
ineffassign .
|
ineffassign .
|
||||||
|
|
||||||
.PHONY: predeclared
|
.PHONY: predeclared
|
||||||
|
predeclared:
|
||||||
@go get github.com/nishanths/predeclared
|
@go get github.com/nishanths/predeclared
|
||||||
predeclared .
|
predeclared .
|
||||||
|
|
||||||
|
|
@ -55,7 +56,7 @@ golint:
|
||||||
golint -min_confidence 0.9 -set_exit_status ./...
|
golint -min_confidence 0.9 -set_exit_status ./...
|
||||||
|
|
||||||
# Intentionally omitted from CI, but target here for ad-hoc reports.
|
# Intentionally omitted from CI, but target here for ad-hoc reports.
|
||||||
.PHONY:
|
.PHONY: errchack
|
||||||
errcheck:
|
errcheck:
|
||||||
@go get github.com/kisielk/errcheck
|
@go get github.com/kisielk/errcheck
|
||||||
errcheck ./...
|
errcheck ./...
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue