mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-16 21:14:36 +00:00
Moving cruftier services that are only used for tests under a test repo
This commit is contained in:
17
test/template/Makefile
Normal file
17
test/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