1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-07 13:31:37 +02:00

make fmt faster

This commit is contained in:
Carlos Alexandro Becker 2017-01-30 14:24:32 -02:00
parent e2eb83b639
commit 89a0dacfa6
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -12,8 +12,7 @@ test: ## Run all the tests
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
find . -name '*.go' -not -wholename './vendor/*' | while read -r file; do gofmt -w -s "$$file"; goimports -w "$$file"; done
lint: ## Run all the linters
gometalinter --vendor --disable-all \