1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

fix: gometalinter

This commit is contained in:
Carlos Alexandro Becker 2018-03-02 09:28:08 -03:00
parent bf4587a9d3
commit 3ca0513d7e
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -10,15 +10,13 @@ setup:
go get -u github.com/caarlos0/static/cmd/static-docs
go get -u github.com/caarlos0/bandep
go get -u gopkg.in/alecthomas/gometalinter.v2
which bandep
which gometalinter
ifeq ($(OS), Darwin)
brew install dep
else
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
endif
dep ensure
gometalinter --install
gometalinter.v2 --install
echo "make check" > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
.PHONY: setup