diff options
Diffstat (limited to 'vendor/github.com/gogs/go-libravatar/Makefile')
-rw-r--r-- | vendor/github.com/gogs/go-libravatar/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/gogs/go-libravatar/Makefile b/vendor/github.com/gogs/go-libravatar/Makefile new file mode 100644 index 00000000..2a70ddc7 --- /dev/null +++ b/vendor/github.com/gogs/go-libravatar/Makefile @@ -0,0 +1,12 @@ +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; |