buildall.sh 500 B

123456789101112131415161718
  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. xbuild /p:Configuration=$CONFIG $SRC/ProtocolBuffers.sln
  12. echo Running tests.
  13. $NUNIT_CONSOLE $SRC/ProtocolBuffers.Test/bin/$CONFIG/Google.Protobuf.Test.dll