更新【proto文件】
This commit is contained in:
6
grpc_api/comp_proto.sh
Normal file
6
grpc_api/comp_proto.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# 递归编译proto
|
||||
lang='python'
|
||||
patch=$(cd $(dirname $0); pwd)
|
||||
find $patch -name '*.proto' -exec protoc -I $patch --${lang}_out=. {} \; -exec echo comp {} \;
|
||||
echo 'all Done'
|
||||
Reference in New Issue
Block a user