buildall.sh 770 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. # Use mono to build solution and run all tests.
  3. # Adjust these to reflect the location of nunit-console in your system.
  4. NUNIT_CONSOLE=nunit-console
  5. # The rest you can leave intact
  6. CONFIG=Release
  7. KEYFILE=../keys/Google.ProtocolBuffers.snk # TODO(jtattermusch): signing!
  8. SRC=$(dirname $0)/src
  9. set -ex
  10. # echo Building the solution.
  11. # TODO(jonskeet): Re-enable building the whole solution when we have ProtoBench et al
  12. # working again.
  13. # xbuild /p:Configuration=$CONFIG $SRC/ProtocolBuffers.sln
  14. xbuild /p:Configuration=$CONFIG $SRC/ProtocolBuffers/ProtocolBuffers.csproj
  15. xbuild /p:Configuration=$CONFIG $SRC/ProtocolBuffers.Test/ProtocolBuffers.Test.csproj
  16. echo Running tests.
  17. $NUNIT_CONSOLE $SRC/ProtocolBuffers.Test/bin/$CONFIG/Google.Protobuf.Test.dll