From 1c2871fd784b6665d902a58b8f088aee86321629 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 23 Jul 2019 23:10:52 +1000 Subject: Updated for Mono 6. --- BuildIt.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BuildIt.sh b/BuildIt.sh index aa41594..c51a349 100755 --- a/BuildIt.sh +++ b/BuildIt.sh @@ -18,11 +18,11 @@ find -name *.csproj | xargs sed -i "s@Microsoft.CSHARP.Targets@Microsoft.CSharp. # Debian no longer provides nant. #./nant-color -if [ "5" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then - # Use this for Mono 5. - msbuild /p:Configuration=Release -else +if [ "4" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then export XBUILD_COLORS=errors=brightred,warnings=yellow,events=blue xbuild /target:clean xbuild /p:TargetFrameworkVersion="v4.5"xbuild /p:TargetFrameworkVersion="v4.5" +else + # Use this for Mono 5 and later. + msbuild /p:Configuration=Release fi -- cgit v1.1