aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/generate_proto_csharp.sh
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-07-14 20:29:21 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-07-15 10:29:57 -0700
commit5253467d5c41e3b2123cf894afdccf6340d225fb (patch)
treeb13dd29cd2a0ebf22695effeb9516a7222eeea5f /src/csharp/generate_proto_csharp.sh
parente6d12d335c160b02a8f866775ffe953962f5988f (diff)
C# health checking support
Diffstat (limited to 'src/csharp/generate_proto_csharp.sh')
-rwxr-xr-xsrc/csharp/generate_proto_csharp.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/csharp/generate_proto_csharp.sh b/src/csharp/generate_proto_csharp.sh
index f980787bb7..6eb3887ea1 100755
--- a/src/csharp/generate_proto_csharp.sh
+++ b/src/csharp/generate_proto_csharp.sh
@@ -35,9 +35,13 @@ cd $(dirname $0)
PLUGIN=protoc-gen-grpc=../../bins/opt/grpc_csharp_plugin
EXAMPLES_DIR=Grpc.Examples
INTEROP_DIR=Grpc.IntegrationTesting
+HEALTHCHECK_DIR=Grpc.HealthCheck
protoc --plugin=$PLUGIN --grpc_out=$EXAMPLES_DIR \
-I $EXAMPLES_DIR/proto $EXAMPLES_DIR/proto/math.proto
protoc --plugin=$PLUGIN --grpc_out=$INTEROP_DIR \
-I $INTEROP_DIR/proto $INTEROP_DIR/proto/test.proto
+
+protoc --plugin=$PLUGIN --grpc_out=$HEALTHCHECK_DIR \
+ -I $HEALTHCHECK_DIR/proto $HEALTHCHECK_DIR/proto/health.proto