1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-19 20:57:53 +02:00
This commit is contained in:
Carlos Alexandro Becker 2018-07-09 14:08:02 -07:00
parent 682c811106
commit 61eef75120
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -7,11 +7,8 @@ export PATH := ./bin:$(PATH)
# Install all the build and lint dependencies # Install all the build and lint dependencies
setup: setup:
rm -rf $$GOPATH/src/golang.org/x/tools
go get -u golang.org/x/tools/cmd/stringer go get -u golang.org/x/tools/cmd/stringer
go get -u golang.org/x/tools/cmd/cover go get -u golang.org/x/tools/cmd/cover
# TODO: temporary hack for https://github.com/golang/go/issues/21387
(cd $$GOPATH/src/golang.org/x/tools; git checkout ae8cc594552814363a7aeeb4f2825515a771fa38; go install ./cmd/stringer/... ; go install ./cmd/cover/...)
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh
curl -sfL https://install.goreleaser.com/github.com/gohugoio/hugo.sh | sh curl -sfL https://install.goreleaser.com/github.com/gohugoio/hugo.sh | sh
curl -sfL https://install.goreleaser.com/github.com/caarlos0/bandep.sh | sh curl -sfL https://install.goreleaser.com/github.com/caarlos0/bandep.sh | sh