github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/template/web/Makefile (about)

     1  
     2  GOPATH:=$(shell go env GOPATH)
     3  
     4  .PHONY: proto test docker
     5  
     6  
     7  build:
     8  
     9  	go build -o template-web main.go
    10      
    11  test:
    12  	go test -v ./... -cover
    13  
    14  docker:
    15  	docker build . -t template-web:latest