Skip to content

Commit

Permalink
chore: Improved coverage command
Browse files Browse the repository at this point in the history
  • Loading branch information
chonla committed Jul 28, 2024
1 parent bf02b5b commit 5920bed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cotton
result.json
result.html
result.html
cover.out
cover.html
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ forcetest:
forceintegration:
go clean -testcache && go test -tags=integration ./...
coverage:
go clean -testcache && go test -cover ./...
go clean -testcache && go test -cover -coverprofile=cover.out ./... && go tool cover -html="cover.out"
build:
go build -ldflags="-X 'main.Version=$(version)'" -o cotton .

0 comments on commit 5920bed

Please sign in to comment.