From 5192443020db21e59c214180e94a5fce1dae6c37 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 19 Jul 2019 09:42:06 +1000 Subject: Fix up prebuild stuff. --- BuildIt.sh | 5 ++++- runprebuild.sh | 15 +++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/BuildIt.sh b/BuildIt.sh index 66577a1..aa41594 100755 --- a/BuildIt.sh +++ b/BuildIt.sh @@ -10,7 +10,10 @@ find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f sleep 1 touch lastBuild -./runprebuild.sh +./runprebuild.sh vs2010 + +# Prebuild converts Microsoft.CSharp.targets to Microsoft.CSHARP.Targets, which case sensitive file systems fail to find. +find -name *.csproj | xargs sed -i "s@Microsoft.CSHARP.Targets@Microsoft.CSharp.targets@g" # Debian no longer provides nant. #./nant-color diff --git a/runprebuild.sh b/runprebuild.sh index 8c18db6..a6d312f 100755 --- a/runprebuild.sh +++ b/runprebuild.sh @@ -3,30 +3,29 @@ case "$1" in 'clean') - mono bin/Prebuild.exe /clean - ;; - 'autoclean') - echo y|mono bin/Prebuild.exe /clean + ;; + 'mono') + mono bin/Prebuild.exe /target monodev ;; + 'nant') + mono bin/Prebuild.exe /target nant + ;; 'vs2010') - mono bin/Prebuild.exe /target vs2010 - ;; *) - + mono bin/Prebuild.exe /target monodev mono bin/Prebuild.exe /target nant mono bin/Prebuild.exe /target vs2010 - ;; esac -- cgit v1.1