mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-21 21:07:19 +02:00
Merge branch 'master' into goreleaser.example.yml
This commit is contained in:
commit
c65d4f86d1
18
Makefile
18
Makefile
@ -3,16 +3,20 @@ TEST_PATTERN?=.
|
||||
TEST_OPTIONS?=
|
||||
|
||||
setup: ## Install all the build and lint dependencies
|
||||
@go get -u github.com/alecthomas/gometalinter
|
||||
@go get -u github.com/Masterminds/glide
|
||||
@glide install
|
||||
@gometalinter --install
|
||||
go get -u github.com/alecthomas/gometalinter
|
||||
go get -u github.com/Masterminds/glide
|
||||
glide install
|
||||
gometalinter --install
|
||||
|
||||
test: ## Run all the tests
|
||||
@go test $(TEST_OPTIONS) -cover $(SOURCE_FILES) -run $(TEST_PATTERN) -timeout=30s
|
||||
go test $(TEST_OPTIONS) -cover $(SOURCE_FILES) -run $(TEST_PATTERN) -timeout=30s
|
||||
|
||||
fmt: ## gofmt and goimports all go files
|
||||
find . -name '*.go' | xargs gofmt -w -s
|
||||
find . -name '*.go' | xargs goimports -w
|
||||
|
||||
lint: ## Run all the linters
|
||||
@gometalinter --vendor --disable-all \
|
||||
gometalinter --vendor --disable-all \
|
||||
--enable=deadcode \
|
||||
--enable=ineffassign \
|
||||
--enable=gosimple \
|
||||
@ -30,7 +34,7 @@ lint: ## Run all the linters
|
||||
ci: lint test ## Run all the tests and code checks
|
||||
|
||||
build: ## Build a beta version of releaser
|
||||
@go build
|
||||
go build
|
||||
|
||||
# Absolutely awesome: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
|
||||
help:
|
||||
|
@ -8,7 +8,11 @@ pushes a Homebrew formulae to a repository. All that wrapped in your favorite CI
|
||||
This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md).
|
||||
By participating, you are expected to uphold this code. Please report unacceptable behavior to root@carlosbecker.com.
|
||||
|
||||
[](https://travis-ci.org/goreleaser/goreleaser) [](https://goreportcard.com/report/github.com/goreleaser/goreleaser) [](https://github.com/goreleaser)
|
||||
[](https://github.com/goreleaser/goreleaser/releases/latest)
|
||||
[](LICENSE.md)
|
||||
[](https://travis-ci.org/goreleaser/goreleaser)
|
||||
[](https://goreportcard.com/report/github.com/goreleaser/goreleaser)
|
||||
[](https://github.com/goreleaser)
|
||||
|
||||
## How it works?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user