1#!/bin/bash
2# Use mono to build solution and run all tests.
3
4# Adjust these to reflect the location of nunit-console in your system.
5NUNIT_CONSOLE=nunit-console
6
7# The rest you can leave intact
8CONFIG=Release
9SRC=$(dirname $0)/src
10
11set -ex
12
13echo Building the solution.
14xbuild /p:Configuration=$CONFIG $SRC/Google.Protobuf.sln
15
16echo Running tests.
17$NUNIT_CONSOLE $SRC/Google.Protobuf.Test/bin/$CONFIG/Google.Protobuf.Test.dll
18