mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
commit
3c4c55cf2e
3
Makefile
3
Makefile
@ -12,8 +12,7 @@ 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
|
fmt: ## gofmt and goimports all go files
|
||||||
find . -name '*.go' | xargs gofmt -w -s
|
find . -name '*.go' -not -wholename './vendor/*' | while read -r file; do gofmt -w -s "$$file"; goimports -w "$$file"; done
|
||||||
find . -name '*.go' | xargs goimports -w
|
|
||||||
|
|
||||||
lint: ## Run all the linters
|
lint: ## Run all the linters
|
||||||
gometalinter --vendor --disable-all \
|
gometalinter --vendor --disable-all \
|
||||||
|
Loading…
Reference in New Issue
Block a user