mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
18 lines
280 B
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
|