fix Makefile to run predeclared check (#24)

This commit is contained in:
Joshua Humphries 2018-03-25 16:27:08 -04:00 committed by GitHub
parent 224c3acd1d
commit 09a863d763
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 ./...