Makefile 192 B

1234567891011121314
  1. .PHONY: build test vet
  2. build: vet
  3. go install -v
  4. test:
  5. mkdir -p test
  6. go test -v -cover -race -coverprofile=test/coverage.out
  7. vet:
  8. go vet
  9. coverage:
  10. go tool cover -html=test/coverage.out