1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2026-05-16 09:20:15 +02:00

hiding commands, vendored linters only

This commit is contained in:
Carlos Alexandro Becker
2017-01-02 14:09:38 -02:00
parent b8904c3826
commit e166976731
+9 -7
View File
@@ -3,15 +3,15 @@ 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
@go get -u -v github.com/alecthomas/gometalinter
@go get -u -v github.com/Masterminds/glide
@glide 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
lint: ## Run all the linters
gometalinter --vendor --disable-all \
@gometalinter --vendor --vendored-linters --disable-all \
--enable=deadcode \
--enable=ineffassign \
--enable=gosimple \
@@ -21,13 +21,15 @@ lint: ## Run all the linters
--enable=dupl \
--enable=misspell \
--enable=errcheck \
--deadline=2m \
--enable=vet \
--enable=vetshadow \
--deadline=20s \
./...
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: