You've already forked goreleaser
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user