提交 aa9d805d 编写于 作者: V vlin17 提交者: Xiangquan Xiao

build_py: build grpc interface

上级 fd5e9c16
......@@ -282,6 +282,9 @@ function build_py_proto() {
find modules/ cyber/ -name "*.proto" \
| grep -v node_modules \
| xargs protoc --python_out=py_proto
find modules/ cyber/ -name "*_service.proto" \
| grep -v node_modules \
| xargs python -m grpc_tools.protoc --proto_path=. --python_out=py_proto --grpc_python_out=py_proto
find py_proto/* -type d -exec touch "{}/__init__.py" \;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册