grpc-experiments/python/helloworld/run_codegen.sh

5 lines
203 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` helloworld.proto