Makefile 155 B

12345678910111213
  1. .PHONY: build test bench vet
  2. build: vet bench
  3. test:
  4. go test -v -cover -race
  5. bench:
  6. go test -v -cover -race -test.bench=. -test.benchmem
  7. vet:
  8. go vet