1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
forgejo/vendor/strk.kbt.io/projects/go/libravatar/Makefile

13 lines
269 B
Makefile
Raw Normal View History

PACKAGES ?= $(shell go list ./...)
.PHONY: check
check: lint
go test
.PHONY: lint
lint:
@which golint > /dev/null; if [ $$? -ne 0 ]; then \
go get -u github.com/golang/lint/golint; \
fi
@for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;