1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-23 17:53:05 +02:00
2020-12-26 15:17:20 +00:00

23 lines
359 B
Makefile

.PHONY: proto data build
proto:
for d in api srv; do \
for f in $$d/**/proto/*.proto; do \
protoc --proto_path=${GOPATH}/src:. --micro_out=. --go_out=. $$f; \
echo compiled: $$f; \
done \
done
lint:
./bin/lint.sh
build:
./bin/build.sh
data:
go-bindata -o data/bindata.go -pkg data data/*.json
run:
docker-compose build
docker-compose up