@@ -30,27 +30,30 @@ function invoke_protoc {
30
30
# - DESCRIPTOR SETS ------------------------------------------------------------
31
31
32
32
function generate_test_service_descriptor_set {
33
- local proto=" $here /local/test-service.proto"
34
- local proto_path=" $( dirname $proto ) "
35
- local output=" $root /Tests/GRPCProtobufCodeGenTests/Generated/test-service.pb"
33
+ local proto proto_path output
34
+ proto=" $here /local/test-service.proto"
35
+ proto_path=" $( dirname " $proto " ) "
36
+ output=" $root /Tests/GRPCProtobufCodeGenTests/Generated/test-service.pb"
36
37
37
38
invoke_protoc --descriptor_set_out=" $output " " $proto " -I " $proto_path " --include_source_info
38
39
}
39
40
40
41
function generate_foo_service_descriptor_set {
41
- local proto=" $here /local/foo-service.proto"
42
- local proto_path=" $( dirname $proto ) "
43
- local output=" $root /Tests/GRPCProtobufCodeGenTests/Generated/foo-service.pb"
42
+ local proto proto_path output
43
+ proto=" $here /local/foo-service.proto"
44
+ proto_path=" $( dirname " $proto " ) "
45
+ output=" $root /Tests/GRPCProtobufCodeGenTests/Generated/foo-service.pb"
44
46
45
47
invoke_protoc --descriptor_set_out=" $output " " $proto " -I " $proto_path " \
46
48
--include_source_info \
47
49
--include_imports
48
50
}
49
51
50
52
function generate_bar_service_descriptor_set {
51
- local proto=" $here /local/bar-service.proto"
52
- local proto_path=" $( dirname $proto ) "
53
- local output=" $root /Tests/GRPCProtobufCodeGenTests/Generated/bar-service.pb"
53
+ local proto proto_path output
54
+ proto=" $here /local/bar-service.proto"
55
+ proto_path=" $( dirname " $proto " ) "
56
+ output=" $root /Tests/GRPCProtobufCodeGenTests/Generated/bar-service.pb"
54
57
55
58
invoke_protoc --descriptor_set_out=" $output " " $proto " -I " $proto_path " \
56
59
--include_source_info \
0 commit comments