buildall.sh 524 B

12345678910111213141516
  1. #!/bin/bash
  2. CONFIG=Release
  3. SRC=$(dirname $0)/src
  4. set -ex
  5. echo Building relevant projects.
  6. dotnet build -c $CONFIG $SRC/Google.Protobuf $SRC/Google.Protobuf.Test $SRC/Google.Protobuf.Conformance
  7. echo Running tests.
  8. # Only test netcoreapp1.0, which uses the .NET Core runtime.
  9. # If we want to test the .NET 4.5 version separately, we could
  10. # run Mono explicitly. However, we don't have any differences between
  11. # the .NET 4.5 and netstandard1.0 assemblies.
  12. dotnet test -c $CONFIG -f netcoreapp1.0 $SRC/Google.Protobuf.Test