Skip to content

Commit c6916c4

Browse files
committed
Update generate for new example
1 parent b941f71 commit c6916c4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dev/protos/generate.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ function generate_routeguide_example {
9797
generate_grpc "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
9898
}
9999

100+
function generate_error_details_example {
101+
local proto="$here/upstream/grpc/examples/helloworld.proto"
102+
local output="$root/Examples/error-details/Sources/Generated"
103+
104+
generate_message "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
105+
generate_grpc "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
106+
}
107+
100108
#- TESTS ----------------------------------------------------------------------
101109

102110
function generate_service_config_for_tests {
@@ -119,6 +127,7 @@ function generate_service_config_for_tests {
119127
generate_echo_example
120128
generate_helloworld_example
121129
generate_routeguide_example
130+
generate_error_details_example
122131

123132
# Tests
124133
generate_service_config_for_tests

0 commit comments

Comments
 (0)