You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
297 B

GO ?= go
.PHONY: fmt
fmt:
$(GO) fmt ./...
.PHONY: test
test:
$(GO) test -v --race ./...
.PHONY: vet
vet:
$(GO) vet ./...
.PHONY: bench
bench:
$(GO) test -benchmem -bench=. > bench.txt
.PHONY: coverage
coverage:
$(GO) test --coverprofile=coverage.out
$(GO) tool cover --html=coverage.out