Closed cute-angelia closed 3 years ago
建议加一个 makefile
.PHONY: proto # proto 生成文件 proto: @for d in proto; do \ for f in $$d/**/*.proto; do \ protoc --proto_path=. --gofast_out=plugins=grpc:. $$f; \ echo compiled: $$f; \ done \ done
现在执行build_proto.sh。即可编译协议
建议加一个 makefile