We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40e8b3 commit 462c34bCopy full SHA for 462c34b
dev/protos/generate.sh
@@ -36,10 +36,10 @@ protoc_gen_grpc_swift="$bin_path/protoc-gen-grpc-swift-2"
36
# - $4 onwards: options to forward to the plugin
37
function generate_grpc {
38
local proto=$1
39
- local args=("--plugin=$protoc_gen_grpc_swift" "--proto_path=${2}" "--grpc-swift_out=${3}")
+ local args=("--plugin=$protoc_gen_grpc_swift" "--proto_path=${2}" "--grpc-swift-2_out=${3}")
40
41
for option in "${@:4}"; do
42
- args+=("--grpc-swift_opt=$option")
+ args+=("--grpc-swift-2_opt=$option")
43
done
44
45
invoke_protoc "${args[@]}" "$proto"
0 commit comments