Skip to content

Instantly share code, notes, and snippets.

@fzankl

fzankl/protoc Secret

Created January 24, 2021 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fzankl/c9d54b7824732081cc4ec248a9a79d2f to your computer and use it in GitHub Desktop.
Save fzankl/c9d54b7824732081cc4ec248a9a79d2f to your computer and use it in GitHub Desktop.
protoc compile for gRPC service
protoc \
-I=$src-directory \
--plugin=protoc-gen-grpc=grpc_csharp_plugin \
--csharp_out=$destination-directory \
--grpc_out=$destination-directory \
--grpc_opt=lite_client,no_server \
$src-directory/foo.proto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment