.. | ||
generate_grpc_files.ps1 | ||
generate_grpc_files.sh | ||
README.md |
Generate the gRPC files
To generate the gRPC files you need to do the following:
Prerequisites:
- You need to install the gRPC Compiler
- Install the Golang Plugin for the compiler
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
Generate:
-
Download the Git submodules (if you didn't clone this repo with
git clone --recurse-submodules
)git submodule init git submodule update
-
Edit the scripts, find the variable
plugName
and set its value to the name of the plug. -
Depending on what OS you are running execute one of the following scripts:
scripts/generate_grpc_files.sh scripts/generate_grpc_files.ps1