Skip to content

compile_proto.make_grpc_files

Full path: schola.scripts.utils.compile_proto.make_grpc_files

Run protoc with the gRPC C++ plugin for each .proto service.

make_grpc_files(protoc_path, proto_folder, plugin_path, target_folder,
proto_files, output_options ='')

Parameters

  • protoc_path (str) - protoc executable.

  • proto_folder (str) - Include root containing .proto files.

  • plugin_path (str) - protoc-gen-grpc plugin binary.

  • target_folder (str) - —grpc_out destination.

  • proto_files (list) - Proto basenames under proto_folder to compile.

  • output_options (str) - Options embedded in —grpc_out before the colon separator.