buildall.sh 425 B

1234567891011121314151617
  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. SRC=$(dirname $0)/src
  8. set -ex
  9. echo Building the solution.
  10. xbuild /p:Configuration=$CONFIG $SRC/Google.Protobuf.sln
  11. echo Running tests.
  12. $NUNIT_CONSOLE $SRC/Google.Protobuf.Test/bin/$CONFIG/Google.Protobuf.Test.dll