diff options
Diffstat (limited to '')
-rwxr-xr-x | BuildIt.sh | 35 |
1 files changed, 1 insertions, 34 deletions
@@ -1,39 +1,6 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | # Poor mans git sub modules / subtrees, coz otherwise it gets complex. | ||
4 | #if [ ! -d git-sub-modules/opensim-moneymodule-gloebit ]; then | ||
5 | # pushd git-sub-modules >/dev/null | ||
6 | # git clone https://github.com/gloebit/opensim-moneymodule-gloebit.git | ||
7 | # popd >/dev/null | ||
8 | #else | ||
9 | # pushd git-sub-modules/opensim-moneymodule-gloebit >/dev/null | ||
10 | # git pull | ||
11 | # popd >/dev/null | ||
12 | #fi | ||
13 | #rm -rf addon-modules/Gloebit/GloebitMoneyModule | ||
14 | #cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/ | ||
15 | |||
16 | ./CleanMe.sh | ||
17 | ./runprebuild.sh vs2015 | ||
18 | |||
19 | # Prebuild converts Microsoft.CSharp.targets to Microsoft.CSHARP.Targets, which case sensitive file systems fail to find. | ||
20 | #find -name *.csproj | xargs sed -i "s@Microsoft.CSHARP.Targets@Microsoft.CSharp.targets@g" | ||
21 | |||
22 | # Debian no longer provides nant. | ||
23 | #./nant-color | ||
24 | |||
25 | if [ "4" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then | ||
26 | export XBUILD_COLORS=errors=brightred,warnings=yellow,events=blue | ||
27 | xbuild /target:clean | ||
28 | xbuild /p:TargetFrameworkVersion="v4.5"xbuild /p:TargetFrameworkVersion="v4.5" | ||
29 | else | ||
30 | # Use this for Mono 5 and later. | ||
31 | # time msbuild /p:Configuration=Release /verbosity:minimal | ||
32 | time msbuild /p:Configuration=Debug /verbosity:minimal | ||
33 | fi | ||
34 | |||
35 | #cp -f addon-modules/Gloebit/GloebitMoneyModule/bin/Gloebit.dll bin | ||
36 | |||
37 | pushd src >/dev/null | 3 | pushd src >/dev/null |
38 | time ./BuildIt.sh | 4 | time ./BuildIt.sh |
39 | popd >/dev/null | 5 | popd >/dev/null |
6 | bin/sledjchisl build -v | ||