Skip to content

Commit

Permalink
add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisolsen committed Jul 30, 2021
1 parent b96e75d commit b0d60ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
cover.html
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
test:
go test
.PHONY: test

test-coverage:
go test -v -coverprofile cover.out .
go tool cover -html=cover.out -o cover.html
.PHONY: test-coverage

0 comments on commit b0d60ff

Please sign in to comment.