Skip to content

Commit c7897a2

Browse files
committed
Write coverage file.
1 parent fa38bce commit c7897a2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# configuration files
55
/*.toml
66

7+
# coverage file
8+
/coverage.out
9+
710
# certificates
811
/certs
912

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ clean:
1515

1616
test:
1717
@echo "Running tests"
18+
@rm -f coverage.out
1819
@for pkg in $(PKGS) ; do \
1920
golint $$pkg ; \
2021
done
2122
@go vet $(PKGS)
22-
@go test -cover -v $(PKGS)
23+
@go test -cover -v $(PKGS) -coverprofile coverage.out
2324

2425
dist:
2526
@goreleaser

0 commit comments

Comments
 (0)