Files
services/test/template/Makefile

18 lines
280 B
Makefile

GOPATH:=$(shell go env GOPATH)
.PHONY: proto
proto:
protoc --proto_path=. --micro_out=. --go_out=:. proto/idiomatic.proto
.PHONY: build
build:
go build -o idiomatic *.go
.PHONY: test
test:
go test -v ./... -cover
.PHONY: docker
docker:
docker build . -t idiomatic:latest