|
|
@ -87,9 +87,7 @@ build_cpp_distcheck() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
build_csharp() { |
|
|
|
build_csharp() { |
|
|
|
# Just for the conformance tests. We don't currently |
|
|
|
# Required for conformance tests and to regenerate protos. |
|
|
|
# need to really build protoc, but it's simplest to keep with the |
|
|
|
|
|
|
|
# conventions of the other builds. |
|
|
|
|
|
|
|
internal_build_cpp |
|
|
|
internal_build_cpp |
|
|
|
NUGET=/usr/local/bin/nuget.exe |
|
|
|
NUGET=/usr/local/bin/nuget.exe |
|
|
|
|
|
|
|
|
|
|
@ -104,6 +102,10 @@ build_csharp() { |
|
|
|
(cd dotnettmp; dotnet new > /dev/null) |
|
|
|
(cd dotnettmp; dotnet new > /dev/null) |
|
|
|
rm -rf dotnettmp |
|
|
|
rm -rf dotnettmp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check that the protos haven't broken C# codegen. |
|
|
|
|
|
|
|
# TODO(jonskeet): Fail if regenerating creates any changes. |
|
|
|
|
|
|
|
csharp/generate_protos.sh |
|
|
|
|
|
|
|
|
|
|
|
csharp/buildall.sh |
|
|
|
csharp/buildall.sh |
|
|
|
cd conformance && make test_csharp && cd .. |
|
|
|
cd conformance && make test_csharp && cd .. |
|
|
|
|
|
|
|
|
|
|
|