mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-18 21:55:08 +00:00
idiomatic -> template
This commit is contained in:
17
template/Makefile
Normal file
17
template/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user