plug-sdk/scripts/generate_grpc_files.ps1

11 lines
281 B
PowerShell
Raw Normal View History

2024-08-26 14:50:25 +00:00
New-Item -Path "pkg" -Name "grpc" -ItemType Directory -Force
protoc `
--proto_path=third_party/grpc-proto `
--go_out=pkg/grpc `
--go_opt=paths=source_relative `
--go-grpc_out=pkg/grpc `
--go-grpc_opt=paths=source_relative `
third_party/grpc-proto/*.proto `