buildall.sh 425 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash
# Use mono to build solution and run all tests.

# Adjust these to reflect the location of nunit-console in your system.
NUNIT_CONSOLE=nunit-console

# The rest you can leave intact
CONFIG=Release
SRC=$(dirname $0)/src

set -ex

13
echo Building the solution.
14
xbuild /p:Configuration=$CONFIG $SRC/Google.Protobuf.sln
15

16
echo Running tests.
17
$NUNIT_CONSOLE $SRC/Google.Protobuf.Test/bin/$CONFIG/Google.Protobuf.Test.dll