This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
plug-sdk/scripts/generate_grpc_files.ps1

11 lines
271 B
PowerShell
Raw Normal View History

2024-02-20 18:11:34 +00:00
New-Item -Path "pkg" -Name "grpc" -ItemType Directory -Force
2024-02-20 09:45:07 +00:00
protoc `
--proto_path=third_party/grpc-proto `
2024-02-20 18:11:34 +00:00
--go_out=pkg/grpc `
2024-02-20 09:45:07 +00:00
--go_opt=paths=source_relative `
2024-02-20 18:11:34 +00:00
--go-grpc_out=pkg/grpc `
2024-02-20 09:45:07 +00:00
--go-grpc_opt=paths=source_relative `
third_party/grpc-proto/*.proto `