mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 21:50:26 +08:00 
			
		
		
		
	修复proto文件不能编译的问题
This commit is contained in:
		@@ -3,6 +3,7 @@
 | 
				
			|||||||
echo "starting ..."
 | 
					echo "starting ..."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#rm -f ../pkg/rpc/pb/*.pb.go
 | 
					#rm -f ../pkg/rpc/pb/*.pb.go
 | 
				
			||||||
 | 
					protoc --go_out=../pkg/rpc --proto_path=../pkg/rpc/protos  ../pkg/rpc/protos/*.proto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
protoc --go-grpc_out=../pkg/rpc --go-grpc_opt=require_unimplemented_servers=false --proto_path=../pkg/rpc/protos  ../pkg/rpc/protos/*.proto
 | 
					protoc --go-grpc_out=../pkg/rpc --go-grpc_opt=require_unimplemented_servers=false --proto_path=../pkg/rpc/protos  ../pkg/rpc/protos/*.proto
 | 
				
			||||||
RESULT=$?
 | 
					RESULT=$?
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user