Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame^] | 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. | ||||
5 | NUNIT_CONSOLE=nunit-console | ||||
6 | |||||
7 | # The rest you can leave intact | ||||
8 | CONFIG=Release | ||||
9 | SRC=$(dirname $0)/src | ||||
10 | |||||
11 | set -ex | ||||
12 | |||||
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 |