Commit 957e877d authored by Jon Skeet's avatar Jon Skeet

Generate C# code whenever descriptor.proto changes

This is a start to fixing issue #1212. It won't help for test protos,
conformance etc, but it will definitely be better than nothing, and
would have highlighted a change in descriptor.proto which broken C#
earlier.
parent e35e2480
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
set -ex set -ex
# cd to repository root # cd to repository root
cd $(dirname $0)/.. pushd $(dirname $0)/..
# Protocol buffer compiler to use. If the PROTOC variable is set, # Protocol buffer compiler to use. If the PROTOC variable is set,
# use that. Otherwise, probe for expected locations under both # use that. Otherwise, probe for expected locations under both
......
...@@ -96,3 +96,8 @@ if test -x objectivec/generate_descriptors_proto.sh; then ...@@ -96,3 +96,8 @@ if test -x objectivec/generate_descriptors_proto.sh; then
echo "Generating messages for objc." echo "Generating messages for objc."
objectivec/generate_descriptors_proto.sh $@ objectivec/generate_descriptors_proto.sh $@
fi fi
if test -x csharp/generate_protos.sh; then
echo "Generating messages for C#."
csharp/generate_protos.sh $@
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment