faraday/frdrpc/gen_protos.sh
2020-03-30 09:25:46 +02:00

9 lines
271 B
Bash
Executable file

#!/bin/sh
echo "Generating faraday gRPC server protos"
# Generate the protos.
protoc -I/usr/local/include -I. \
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--go_out=plugins=grpc,paths=source_relative:. \
rpc.proto