将grpc.sh改为build.sh

This commit is contained in:
GoEdgeLab
2021-08-08 08:48:26 +08:00
parent e418a7a466
commit 485bdc1b2e
2 changed files with 2 additions and 2 deletions

5
build/build.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
#rm -f ../pkg/rpc/pb/*.pb.go
protoc --go_out=plugins=grpc:../pkg/rpc --proto_path=../pkg/rpc/protos ../pkg/rpc/protos/*.proto
protoc --go_out=plugins=grpc:../pkg/rpc --proto_path=../pkg/rpc/protos ../pkg/rpc/protos/models/*.proto