diff options
author | onefang | 2019-07-23 23:10:52 +1000 |
---|---|---|
committer | onefang | 2019-07-23 23:10:52 +1000 |
commit | 1c2871fd784b6665d902a58b8f088aee86321629 (patch) | |
tree | ffdab4e8906c1b007f375ad3097c62dc5ec3b0e2 /BuildIt.sh | |
parent | TPs from scripts avoid all that silly raycasting nonsense, just go where we ask. (diff) | |
download | opensim-SC-1c2871fd784b6665d902a58b8f088aee86321629.zip opensim-SC-1c2871fd784b6665d902a58b8f088aee86321629.tar.gz opensim-SC-1c2871fd784b6665d902a58b8f088aee86321629.tar.bz2 opensim-SC-1c2871fd784b6665d902a58b8f088aee86321629.tar.xz |
Updated for Mono 6.
Diffstat (limited to '')
-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 |