aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 58fa853..939d909 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
.PHONY: test
test: lint ## Run tests with coverage
- go test -race -short -cover -coverprofile coverage.txt ./...
- go tool cover -html=coverage.txt -o coverage.html
+ go test -race -short -cover -coverprofile coverage.txt ./... \
+ && go tool cover -func=coverage.txt
.PHONY: lint
lint: ## Run the code linter