mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
12 lines
237 B
Makefile
12 lines
237 B
Makefile
|
# Go parameters
|
||
|
GOCMD = go
|
||
|
GOTEST = $(GOCMD) test
|
||
|
|
||
|
.PHONY: test
|
||
|
test:
|
||
|
$(GOTEST) -race ./...
|
||
|
|
||
|
test-coverage:
|
||
|
echo "" > $(COVERAGE_REPORT); \
|
||
|
$(GOTEST) -coverprofile=$(COVERAGE_REPORT) -coverpkg=./... -covermode=$(COVERAGE_MODE) ./...
|