Makefile raw

   1  .PHONY: test
   2  test:
   3  	go test -v -race ./...
   4  
   5  .PHONY: cover
   6  cover:
   7  	go test -coverprofile=cover.out ./...
   8  
   9  .PHONY: cover-html
  10  cover-html: cover
  11  	go tool cover -html=cover.out
  12  
  13  .PHONY: ycat/build
  14  ycat/build:
  15  	go build -o ycat ./cmd/ycat
  16