Add command to check the race condition

This commit is contained in:
Masashi SHIBATA 2017-10-08 20:58:09 +09:00
parent faffcdaa35
commit 422cf86720

View File

@ -20,6 +20,10 @@ lint: ## Run golint and go vet.
test: ## Run the tests.
@go test .
.PHONY: race-test
race-test: ## Checking the race condition.
@go test -race .
.PHONY: help
help: ## Show help text
@echo "Commands:"