fix: generate cpp grpc services (#64)

This commit is contained in:
Lei, HUANG
2023-07-13 19:07:56 +08:00
committed by GitHub
parent ab5bc4849a
commit f2b48c7fd9
33 changed files with 6306 additions and 1 deletions
+2 -1
View File
@@ -5,4 +5,5 @@ set -e
PROTO_ROOT=./proto
CPP_OUTPUT=./c++
protoc --proto_path=proto/ --cpp_out=${CPP_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
protoc -I ${PROTO_ROOT} --cpp_out=${CPP_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
protoc -I ${PROTO_ROOT} --grpc_out=${CPP_OUTPUT} --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` $(find ./proto/ -type f -iname "*.proto")