修复协议代理生成的一些问题

This commit is contained in:
UnKownOwO
2023-05-31 20:53:18 +08:00
parent 98976d7a7d
commit 63b933b9f5
2 changed files with 41 additions and 26 deletions

View File

@@ -106,9 +106,9 @@ gen_proto:
gen_client_proto:
cd gate/client_proto && \
rm -rf client_proto_gen.go && \
go test -count=1 -v -run TestClientProtoGen . && \
rm -rf proto/*.pb.go && \
find proto -name '*.proto' | xargs -n 1 protoc --proto_path=proto --go_out=proto
find proto -name '*.proto' | xargs -n 1000 protoc --proto_path=proto --go_out=proto && \
go test -count=1 -v -run TestClientProtoGen .
.PHONY: test
test: