From faf250df2dfcf34552bb983cfc712a8164de3a3b Mon Sep 17 00:00:00 2001 From: BlueWall Date: Thu, 26 Jul 2012 21:28:20 -0400 Subject: [PATCH 1/3] add clean task to reuprebuild.sh ./runprebuild.sh clean to clean up the project files --- runprebuild.sh | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/runprebuild.sh b/runprebuild.sh index b3b5c9d1d3..98bfcb349a 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -1,4 +1,18 @@ #!/bin/sh -mono bin/Prebuild.exe /target nant -mono bin/Prebuild.exe /target vs2008 +case "$1" in + + 'clean') + + mono bin/Prebuild.exe /clean + + ;; + + *) + + mono bin/Prebuild.exe /target nant + mono bin/Prebuild.exe /target vs2008 + ;; + +esac + From f4bae34283137268e4dce2d6e00cd8df962ce6d4 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Thu, 26 Jul 2012 21:34:33 -0400 Subject: [PATCH 2/3] Add target switches ./runprebuild.sh vs2008/vs2010 to set the target --- runprebuild.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/runprebuild.sh b/runprebuild.sh index 98bfcb349a..e68c4812e8 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -8,6 +8,17 @@ case "$1" in ;; + + 'vs2010') + + mono bin/Prebuild.exe /target vs2010 + + ;; + + 'vs2008') + mono bin/Prebuild.exe /target vs2008 + ;; + *) mono bin/Prebuild.exe /target nant From 6ee17f5b36a8f19603ab28acdc52f4cbb882c202 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Thu, 26 Jul 2012 21:39:53 -0400 Subject: [PATCH 3/3] Add autoclean for scripted use ./runprebuild.sh autoclean - cleans projects w/o prompting --- runprebuild.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/runprebuild.sh b/runprebuild.sh index e68c4812e8..d276edbee4 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -9,21 +9,34 @@ case "$1" in ;; + 'autoclean') + + echo y|mono bin/Prebuild.exe /clean + + ;; + + 'vs2010') mono bin/Prebuild.exe /target vs2010 ;; + 'vs2008') + mono bin/Prebuild.exe /target vs2008 + ;; + *) mono bin/Prebuild.exe /target nant mono bin/Prebuild.exe /target vs2008 + ;; + esac