优化编译脚本

This commit is contained in:
刘祥超
2023-04-25 10:26:34 +08:00
parent ca8226fe9d
commit a7ac768709
2 changed files with 3 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ if [ "${RESULT}" != "0" ]; then
exit
fi
RESULT=`protoc --go_out=plugins=grpc:../pkg/rpc --proto_path=../pkg/rpc/protos ../pkg/rpc/protos/models/*.proto`
protoc --go_out=plugins=grpc:../pkg/rpc --proto_path=../pkg/rpc/protos ../pkg/rpc/protos/models/*.proto
RESULT=$?
if [ "${RESULT}" != "0" ]; then
exit