mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-18 03:56:52 +02:00
?
This commit is contained in:
parent
abffee6c25
commit
7953e9df12
7
Makefile
7
Makefile
@ -3,15 +3,16 @@ TEST_PATTERN?=.
|
||||
TEST_OPTIONS?=
|
||||
|
||||
setup: ## Install all the build and lint dependencies
|
||||
@go get -u -v github.com/alecthomas/gometalinter
|
||||
@go get -u -v github.com/Masterminds/glide
|
||||
@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
|
||||
|
||||
lint: ## Run all the linters
|
||||
@gometalinter --vendor --vendored-linters --disable-all \
|
||||
@gometalinter --vendor --disable-all \
|
||||
--enable=deadcode \
|
||||
--enable=ineffassign \
|
||||
--enable=gosimple \
|
||||
|
Loading…
x
Reference in New Issue
Block a user