mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-26 04:00:55 +00:00
11 lines
237 B
Makefile
11 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) ./...
|