12 lines
341 B
Batchfile
12 lines
341 B
Batchfile
@rem Generate the C# code for .proto files
|
|
|
|
setlocal
|
|
|
|
@rem enter this directory
|
|
cd /d %~dp0
|
|
|
|
set TOOLS_PATH=packages\Grpc.Tools.0.13.1\tools\windows_x86
|
|
|
|
%TOOLS_PATH%\protoc.exe -I../../protos --csharp_out RouteGuide ../../protos/route_guide.proto --grpc_out RouteGuide --plugin=protoc-gen-grpc=%TOOLS_PATH%\grpc_csharp_plugin.exe
|
|
|
|
endlocal |