0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 03:14:20 +01:00

Added errcheck make task (#242)

This commit is contained in:
Thomas Boerger 2016-11-25 09:12:06 +01:00 committed by Lunny Xiao
parent c0ca6644ad
commit 900a21008c

View file

@ -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 \