Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: third_party/grpc/examples/csharp/helloworld/generate_protos.bat

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/grpc/examples/csharp/helloworld/README.md ('k') | third_party/grpc/examples/csharp/route_guide/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698