buildall.sh 700 B

12345678910111213141516171819202122
  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.ProtocolBuffers.Test.dll
  14. $NUNIT_CONSOLE $SRC/ProtocolBuffersLite.Test/bin/$CONFIG/Google.ProtocolBuffersLite.Test.dll
  15. $NUNIT_CONSOLE $SRC/ProtocolBuffersLite.Test/bin/$CONFIG/Google.ProtocolBuffersMixedLite.Test.dll