mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 15:05:01 +00:00
rename locations to places (#38)
* rename locations to places * update failing things Co-authored-by: Janos Dobronszki <dobronszki@gmail.com>
This commit is contained in:
18
places/Makefile
Normal file
18
places/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
GOPATH:=$(shell go env GOPATH)
|
||||
.PHONY: init
|
||||
init:
|
||||
go get -u github.com/golang/protobuf/proto
|
||||
go get -u github.com/golang/protobuf/protoc-gen-go
|
||||
go get github.com/micro/micro/v3/cmd/protoc-gen-micro
|
||||
|
||||
.PHONY: proto
|
||||
proto:
|
||||
protoc --proto_path=. --micro_out=. --go_out=:. proto/places.proto
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
go build -o places *.go
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -v ./... -cover
|
||||
Reference in New Issue
Block a user