aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xBuildIt.sh8
1 files 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.
18# Debian no longer provides nant. 18# Debian no longer provides nant.
19#./nant-color 19#./nant-color
20 20
21if [ "5" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then 21if [ "4" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then
22 # Use this for Mono 5.
23 msbuild /p:Configuration=Release
24else
25 export XBUILD_COLORS=errors=brightred,warnings=yellow,events=blue 22 export XBUILD_COLORS=errors=brightred,warnings=yellow,events=blue
26 xbuild /target:clean 23 xbuild /target:clean
27 xbuild /p:TargetFrameworkVersion="v4.5"xbuild /p:TargetFrameworkVersion="v4.5" 24 xbuild /p:TargetFrameworkVersion="v4.5"xbuild /p:TargetFrameworkVersion="v4.5"
25else
26 # Use this for Mono 5 and later.
27 msbuild /p:Configuration=Release
28fi 28fi