diff --git a/Makefile b/Makefile index 6218a58..aa8f0ba 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ NAME := kkn.fi/vanity +GOMETALINTER := $(GOPATH)/bin/gometalinter + .PHONY: build build: go build $(NAME) @@ -10,9 +12,13 @@ test: go test -v $(NAME) .PHONY: lint -lint: +lint: $(GOMETALINTER) gometalinter ./... +$(GOMETALINTER): + go get -u github.com/alecthomas/gometalinter + gometalinter --install + .PHONY: cover cover: go test -coverprofile=coverage.out $(NAME)