Skip to content

Commit d27aa82

Browse files
committed
Stop generating
1 parent 0bf8afe commit d27aa82

File tree

1 file changed

+0
-53
lines changed

1 file changed

+0
-53
lines changed

dev/protos/generate.sh

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -71,52 +71,6 @@ function invoke_protoc {
7171
"$protoc" "$@"
7272
}
7373

74-
#- EXAMPLES -------------------------------------------------------------------
75-
76-
function generate_echo_example {
77-
local proto="$here/examples/echo/echo.proto"
78-
local output="$root/Examples/echo/Sources/Generated"
79-
80-
generate_message "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
81-
generate_grpc "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
82-
}
83-
84-
function generate_helloworld_example {
85-
local proto="$here/upstream/grpc/examples/helloworld.proto"
86-
local output="$root/Examples/hello-world/Sources/Generated"
87-
88-
generate_message "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
89-
generate_grpc "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
90-
}
91-
92-
function generate_routeguide_example {
93-
local proto="$here/examples/route_guide/route_guide.proto"
94-
local output="$root/Examples/route-guide/Sources/Generated"
95-
96-
generate_message "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
97-
generate_grpc "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
98-
}
99-
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-
108-
function generate_reflection_server_example {
109-
local proto="$here/examples/echo/echo.proto"
110-
local output="$root/Examples/reflection-server/Sources/Generated"
111-
local pb_output="$root/Examples/reflection-server/Sources/DescriptorSets/echo.pb"
112-
113-
generate_message "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
114-
generate_grpc "$proto" "$(dirname "$proto")" "$output" "Visibility=Internal"
115-
invoke_protoc --descriptor_set_out="$pb_output" "$proto" -I "$(dirname "$proto")" \
116-
--include_source_info \
117-
--include_imports
118-
}
119-
12074
#- TESTS ----------------------------------------------------------------------
12175

12276
function generate_service_config_for_tests {
@@ -135,12 +89,5 @@ function generate_service_config_for_tests {
13589

13690
#------------------------------------------------------------------------------
13791

138-
# Generate examples
139-
generate_echo_example
140-
generate_helloworld_example
141-
generate_routeguide_example
142-
generate_error_details_example
143-
generate_reflection_server_example
144-
14592
# Tests
14693
generate_service_config_for_tests

0 commit comments

Comments
 (0)