diff --git a/runprebuild.sh b/runprebuild.sh index b3b5c9d1d3..d276edbee4 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -1,4 +1,42 @@ #!/bin/sh -mono bin/Prebuild.exe /target nant -mono bin/Prebuild.exe /target vs2008 +case "$1" in + + 'clean') + + mono bin/Prebuild.exe /clean + + ;; + + + '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 +