Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Icikowski committed Mar 6, 2022
1 parent 447d080 commit 0d677f4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.PHONY: clean test coverage
.SILENT: ${.PHONY}

GO_TEST := go test ./... -race -p 1

all: clean
${GO_TEST} -v

clean:
rm -f *.out *.html
go clean -cache

test: clean
${GO_TEST}

coverage: clean
${GO_TEST} -v -covermode atomic -coverprofile cover.out

0 comments on commit 0d677f4

Please sign in to comment.