18 lines
176 B
Makefile
18 lines
176 B
Makefile
|
GO ?= go
|
||
|
|
||
|
.PHONY: vet
|
||
|
vet:
|
||
|
$(GO) vet ./...
|
||
|
|
||
|
.PHONY: fmt
|
||
|
fmt:
|
||
|
$(GO) fmt ./...
|
||
|
|
||
|
.PHONY: test
|
||
|
test:
|
||
|
$(GO) test -race ./...
|
||
|
|
||
|
.PHONY: bench
|
||
|
bench:
|
||
|
$(GO) test -benchmem -bench=.
|