diff options
Diffstat (limited to 'BuildIt.sh')
-rwxr-xr-x | BuildIt.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 | ||
21 | if [ "5" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then | 21 | if [ "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 | ||
24 | else | ||
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" |
25 | else | ||
26 | # Use this for Mono 5 and later. | ||
27 | msbuild /p:Configuration=Release | ||
28 | fi | 28 | fi |