Skip to content

Commit

Permalink
build: add race test task to Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed May 3, 2017
1 parent 9b67d89 commit dc79978
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
.PHONY: test cover robeaux examples deps
.PHONY: test race cover robeaux examples deps

test:
go test ./...

race:
go test ./... -race

cover:
echo "" > profile.cov
for package in $$(go list ./...) ; do \
Expand Down

0 comments on commit dc79978

Please sign in to comment.