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

using covermode count

This commit is contained in:
Carlos Alexandro Becker
2017-03-25 21:00:03 -03:00
parent 1ee7fafe96
commit 5bb80dd0a8
+1 -1
View File
@@ -11,7 +11,7 @@ setup: ## Install all the build and lint dependencies
gometalinter --install
test: ## Run all the tests
gotestcover $(TEST_OPTIONS) -coverprofile=coverage.out $(SOURCE_FILES) -run $(TEST_PATTERN) -timeout=30s
gotestcover $(TEST_OPTIONS) -covermode=count -coverprofile=coverage.out $(SOURCE_FILES) -run $(TEST_PATTERN) -timeout=30s
fmt: ## gofmt and goimports all go files
find . -name '*.go' -not -wholename './vendor/*' | while read -r file; do gofmt -w -s "$$file"; goimports -w "$$file"; done