3 mono bin/Prebuild.exe /target nant
4 mono bin/Prebuild.exe /target monodev
5 mono bin/Prebuild.exe /target vs2008
7 if [ x$1 == xnant ]; then
8 nant -buildfile:Radegast.build
10 echo Build Exit Code: $RES
11 if [ x$2 == xruntests ]; then
12 nunit-console2 bin/Radegast.Tests.dll /exclude=Network /labels /xml=testresults.xml
18 if [ x$1 == xopenjpeg ]; then
21 if [ $ARCH == x86_64 ]; then
22 # since we're a 64bit host, compile a 32bit vesion of openjpeg
23 make ARCH=-i686 ARCHFLAGS=-m32 install
25 # compile for default detected platform