#7: fix Makefile

This commit is contained in:
adphi 2019-07-14 01:01:06 +02:00
parent 359e45d9d5
commit f564979da5
1 changed files with 4 additions and 4 deletions

View File

@ -11,18 +11,18 @@ lint: ## Lint the files
@golint -set_exit_status ${PKG_LIST}
test: ## Run unittests
@go test -mod=vendor -v .
@GO111MODULE=on go test -mod=vendor -v .
race: dep ## Run data race detector
@go test -mod=vendor -v -race ${PKG_LIST}
@GO111MODULE=on go test -mod=vendor -v -race ${PKG_LIST}
msan: dep ## Run memory sanitizer
@go test -mod=vendor -msan -short ${PKG_LIST}
@GO111MODULE=on go test -mod=vendor -msan -short ${PKG_LIST}
coverage: ## Generate global code coverage report
@mkdir -p cover
@touch cover/${PROJECT_NAME}cov
go tool cover -html=cover/${PROJECT_NAME}cov -o coverage.html
@go tool cover -html=cover/${PROJECT_NAME}cov -o coverage.html
dep: ## Get the dependencies
@GO111MODULE=on go mod vendor