Permalink
Browse files

Updated batch files

  • Loading branch information...
ferventcoder committed Dec 13, 2013
1 parent ab4722d commit 5868cc409e7ad1c8c8e15d529b58e9b9b2c64408
Showing with 44 additions and 16 deletions.
  1. +1 −1 build.bat
  2. +30 −0 build.sh
  3. +0 −11 open.bat
  4. +3 −3 test.bat
  5. +1 −1 zip.bat
  6. +9 −0 zip.sh
View
@@ -13,7 +13,7 @@ SET BUILD_DIR=%~d0%~p0%
SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
SET build.config.settings="%DIR%\settings\UppercuT.config"
%NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:"%BUILD_DIR%build\default.build" -D:build.config.settings=%build.config.settings% %*
%NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%build\default.build" /D:build.config.settings=%build.config.settings% %*
if %ERRORLEVEL% NEQ 0 goto errors
View
@@ -0,0 +1,30 @@
#!/bin/bash
# stty -echo
# ::Project UppercuT - http://uppercut.googlecode.com
# ::No edits to this file are required - http://uppercut.pbwiki.com
function usage
{
echo ""
echo "Usage: build.sh"
exit
}
function displayUsage
{
case $1 in
"/?"|"-?"|"?"|"/help") usage ;;
esac
}
displayUsage $1
# http://www.michaelruck.de/2010/03/solving-pkg-config-and-mono-35-profile.html
# http://cloudgen.wordpress.com/2013/03/06/configure-nant-to-run-under-mono-3-06-beta-for-mac-osx/
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig
mono ./lib/NAnt/NAnt.exe /logger:"NAnt.Core.DefaultLogger" /nologo /quiet /f:"$(cd $(dirname "$0"); pwd)/build/default.build" /D:build.config.settings="$(cd $(dirname "$0"); pwd)/settings/UppercuT.config" $*
#/quiet /nologo /debug /t:"mono-4.0"
View

This file was deleted.

Oops, something went wrong.
View
@@ -15,12 +15,12 @@ SET BUILD_DIR=%~d0%~p0%
SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
SET build.config.settings="%DIR%\settings\UppercuT.config"
%NANT% /f:"%BUILD_DIR%build\compile.step" -D:build.config.settings=%build.config.settings%
%NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%build\compile.step" /D:build.config.settings=%build.config.settings%
if %ERRORLEVEL% NEQ 0 goto errors
%NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:"%BUILD_DIR%build\analyzers\test.step" %1 -D:build.config.settings=%build.config.settings%
%NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:"%BUILD_DIR%build\analyzers\test.step" open_results -D:build.config.settings=%build.config.settings%
%NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%build\analyzers\test.step" %1 /D:build.config.settings=%build.config.settings%
%NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%build\analyzers\test.step" open_results /D:build.config.settings=%build.config.settings%
if %ERRORLEVEL% NEQ 0 goto errors
View
@@ -13,7 +13,7 @@ if %ERRORLEVEL% NEQ 0 goto errors
SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
SET build.config.settings="%DIR%\settings\UppercuT.config"
%NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:"%BUILD_DIR%build\zip.build" -D:build.config.settings=%build.config.settings% %*
%NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%build\zip.build" /D:build.config.settings=%build.config.settings% %*
if %ERRORLEVEL% NEQ 0 goto errors
View
9 zip.sh
@@ -0,0 +1,9 @@
#!/bin/bash
# stty -echo
# ::Project UppercuT - http://uppercut.googlecode.com
# ::No edits to this file are required - http://uppercut.pbwiki.com
./build.sh
mono ./lib/NAnt/NAnt.exe /logger:"NAnt.Core.DefaultLogger" /nologo /quiet /f:"$(cd $(dirname "$0"); pwd)/build/zip.build" /D:build.config.settings="$(cd $(dirname "$0"); pwd)/settings/UppercuT.config" $*

0 comments on commit 5868cc4

Please sign in to comment.