Index: third_party/grpc/examples/csharp/helloworld/generate_protos.bat |
diff --git a/third_party/grpc/examples/csharp/helloworld/generate_protos.bat b/third_party/grpc/examples/csharp/helloworld/generate_protos.bat |
new file mode 100755 |
index 0000000000000000000000000000000000000000..7f3654c8da0331f58671721d517bc7d9d27f515c |
--- /dev/null |
+++ b/third_party/grpc/examples/csharp/helloworld/generate_protos.bat |
@@ -0,0 +1,10 @@ |
+@rem Generate the C# code for .proto files |
+ |
+setlocal |
+ |
+@rem enter this directory |
+cd /d %~dp0 |
+ |
+packages\Google.Protobuf.3.0.0-beta2\tools\protoc.exe -I../../protos --csharp_out Greeter ../../protos/helloworld.proto --grpc_out Greeter --plugin=protoc-gen-grpc=packages\Grpc.Tools.0.13.0\tools\grpc_csharp_plugin.exe |
+ |
+endlocal |