diff options
Diffstat (limited to 'third_party/protobuf/csharp/buildall.sh')
-rwxr-xr-x | third_party/protobuf/csharp/buildall.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/protobuf/csharp/buildall.sh b/third_party/protobuf/csharp/buildall.sh new file mode 100755 index 0000000000..cab3222992 --- /dev/null +++ b/third_party/protobuf/csharp/buildall.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +CONFIG=Release +SRC=$(dirname $0)/src + +set -ex + +echo Building relevant projects. +dotnet build -c $CONFIG $SRC/Google.Protobuf $SRC/Google.Protobuf.Test $SRC/Google.Protobuf.Conformance + +echo Running tests. +# Only test netcoreapp1.0, which uses the .NET Core runtime. +# If we want to test the .NET 4.5 version separately, we could +# run Mono explicitly. However, we don't have any differences between +# the .NET 4.5 and netstandard1.0 assemblies. +dotnet test -c $CONFIG -f netcoreapp1.0 $SRC/Google.Protobuf.Test |