2015-05-13 02:27:53 +00:00
|
|
|
#!/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
|
|
|
|
|
2015-06-25 11:25:49 +00:00
|
|
|
echo Building the solution.
|
2015-07-17 07:26:04 +00:00
|
|
|
xbuild /p:Configuration=$CONFIG $SRC/Google.Protobuf.sln
|
2015-05-13 02:27:53 +00:00
|
|
|
|
2015-06-25 07:59:35 +00:00
|
|
|
echo Running tests.
|
2015-07-17 07:26:04 +00:00
|
|
|
$NUNIT_CONSOLE $SRC/Google.Protobuf.Test/bin/$CONFIG/Google.Protobuf.Test.dll
|