OSDN Git Service

updated EVOvendPlugin
[radegast/radegast.git] / runprebuild.sh
index 734f91f..e7c0df2 100755 (executable)
@@ -2,20 +2,25 @@
 
 cd `dirname "$0"`
 mkdir bin 2>/dev/null
-cp Radegast/assemblies/* bin
 
-mono Radegast/Prebuild.exe /target nant
-mono Radegast/Prebuild.exe /target monodev
-cp -f NullBuild.txt plugins/Radegast.Plugin.Speech/RadSpeechWin/RadSpeechWin.dll.build
+mono Radegast/prebuild.exe /target vs2010 /exclude plug_speech
 
-
-if [ x$1 == xnant ]; then
-    nant -buildfile:Radegast.build
+if [ x$1 == xbuild ]; then
+    xbuild /p:Configuration=Release Radegast.sln
     RES=$?
     echo Build Exit Code: $RES
-    if [ x$2 == xruntests ]; then
-        nunit-console2 bin/Radegast.Tests.dll /exclude=Network /labels /xml=testresults.xml
+
+    if [ x$RES != x0 ]; then
+       exit $RES
+    fi
+
+    if [ x$2 == xdist ]; then
+        tar czvf radegast-latest.tgz bin
     fi
     
     exit $RES
+else
+    echo "Now run:"
+    echo
+    echo "xbuild Radegast.sln"
 fi