gate兼容3.7

This commit is contained in:
UnKownOwO
2023-06-01 00:06:34 +08:00
parent 3efbad274d
commit 17dbf5aa8a
4 changed files with 31 additions and 8 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 1000 protoc --proto_path=proto --go_out=proto && \
go test -count=1 -v -run TestClientProtoGen .
find proto -name '*.proto' | xargs -n 1000 protoc --proto_path=proto --go_out=proto
.PHONY: test
test: