diff --git a/Makefile b/Makefile index 8c06060..769e9a4 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ regen: make -C testdata regen .PHONY: check -check: errcheck go-nyet +check: errcheck go-nyet golint errcheck testdata/out/compress-memcopy.go errcheck testdata/out/compress-nomemcopy.go errcheck testdata/out/debug.go @@ -16,9 +16,17 @@ check: errcheck go-nyet go-nyet testdata/out/debug.go go-nyet testdata/out/nocompress-memcopy.go go-nyet testdata/out/nocompress-nomemcopy.go + golint testdata/out/compress-memcopy.go + golint testdata/out/compress-nomemcopy.go + golint testdata/out/debug.go + golint testdata/out/nocompress-memcopy.go + golint testdata/out/nocompress-nomemcopy.go errcheck: go get github.com/kisielk/errcheck go-nyet: go get github.com/barakmich/go-nyet + +golint: + go get github.com/golang/lint/golint