idiomatic -> template

This commit is contained in:
Janos Dobronszki
2020-10-02 15:54:09 +02:00
parent 64003797db
commit 3d1eb49b1b
11 changed files with 26 additions and 2 deletions

17
template/Makefile Normal file
View File

@@ -0,0 +1,17 @@
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