grpc-experiments/python/route_guide/run_codegen.sh

5 lines
204 B
Bash
Executable File

#!/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