You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2026-05-16 09:20:15 +02:00
?
This commit is contained in:
@@ -3,15 +3,16 @@ TEST_PATTERN?=.
|
|||||||
TEST_OPTIONS?=
|
TEST_OPTIONS?=
|
||||||
|
|
||||||
setup: ## Install all the build and lint dependencies
|
setup: ## Install all the build and lint dependencies
|
||||||
@go get -u -v github.com/alecthomas/gometalinter
|
@go get -u github.com/alecthomas/gometalinter
|
||||||
@go get -u -v github.com/Masterminds/glide
|
@go get -u github.com/Masterminds/glide
|
||||||
@glide install
|
@glide install
|
||||||
|
@gometalinter --install
|
||||||
|
|
||||||
test: ## Run all the tests
|
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
|
lint: ## Run all the linters
|
||||||
@gometalinter --vendor --vendored-linters --disable-all \
|
@gometalinter --vendor --disable-all \
|
||||||
--enable=deadcode \
|
--enable=deadcode \
|
||||||
--enable=ineffassign \
|
--enable=ineffassign \
|
||||||
--enable=gosimple \
|
--enable=gosimple \
|
||||||
|
|||||||
Reference in New Issue
Block a user