aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python/route_guide/run_codegen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/route_guide/run_codegen.sh')
-rwxr-xr-xexamples/python/route_guide/run_codegen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/python/route_guide/run_codegen.sh b/examples/python/route_guide/run_codegen.sh
new file mode 100755
index 0000000000..689e0978de
--- /dev/null
+++ b/examples/python/route_guide/run_codegen.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# Runs the protoc with gRPC plugin to generate protocol messages and gRPC stubs.
+protoc -I . --python_out=. --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_python_plugin` route_guide.proto