diff options
author | Thomas Boerger <thomas@webhippie.de> | 2016-11-25 09:12:06 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-25 16:12:06 +0800 |
commit | 900a21008cc1284e9bc30a6f322a739cff9b503f (patch) | |
tree | 307b8b3ea720e5e35f02aaac3e2974344076af8c /Makefile | |
parent | c0ca6644ade5ce21d8c7601439d94ea1fed7443d (diff) | |
download | gitea-900a21008cc1284e9bc30a6f322a739cff9b503f.tar.gz gitea-900a21008cc1284e9bc30a6f322a739cff9b503f.zip |
Added errcheck make task (#242)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -51,6 +51,13 @@ fmt: vet: go vet $(PACKAGES) +.PHONY: errcheck +errcheck: + @which errcheck > /dev/null; if [ $$? -ne 0 ]; then \ + go get -u github.com/kisielk/errcheck; \ + fi + errcheck $(PACKAGES) + .PHONY: lint lint: @which golint > /dev/null; if [ $$? -ne 0 ]; then \ |