OSDN Git Service

set timer property to static
[radegast/radegast.git] / runprebuild.sh
1 #!/bin/bash
2
3 cd `dirname "$0"`
4 mkdir bin 2>/dev/null
5
6 mono Radegast/prebuild.exe /target vs2010 /exclude plug_speech
7
8 if [ x$1 == xbuild ]; then
9     xbuild /p:Configuration=Release Radegast.sln
10     RES=$?
11     echo Build Exit Code: $RES
12
13     if [ x$RES != x0 ]; then
14         exit $RES
15     fi
16
17     if [ x$2 == xdist ]; then
18         tar czvf radegast-latest.tgz bin
19     fi
20     
21     exit $RES
22 else
23     echo "Now run:"
24     echo
25     echo "xbuild Radegast.sln"
26 fi