aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2020-03-21 01:53:21 +1000
committeronefang2020-03-21 01:53:21 +1000
commit88bdf88cfe5991409ace657b0860e4dad47d58d6 (patch)
tree1bd749a8b1ba174f6566cf924349f7dfd3549f29
parentTODO-- (diff)
downloadopensim-SC_OLD-88bdf88cfe5991409ace657b0860e4dad47d58d6.zip
opensim-SC_OLD-88bdf88cfe5991409ace657b0860e4dad47d58d6.tar.gz
opensim-SC_OLD-88bdf88cfe5991409ace657b0860e4dad47d58d6.tar.bz2
opensim-SC_OLD-88bdf88cfe5991409ace657b0860e4dad47d58d6.tar.xz
Build sledjchisl when building the rest.
-rwxr-xr-xBuildIt.sh19
1 files changed, 11 insertions, 8 deletions
diff --git a/BuildIt.sh b/BuildIt.sh
index 2b12b0a..4a98862 100755
--- a/BuildIt.sh
+++ b/BuildIt.sh
@@ -1,5 +1,11 @@
1#!/bin/bash 1#!/bin/bash
2 2
3touch lastBuild
4
5pushd src >/dev/null
6./BuildIt.sh
7popd >/dev/null
8
3# Delete *.pdb, *.dll, *,dll.*, *.csproj, *.csproj.*, */obj/ 9# Delete *.pdb, *.dll, *,dll.*, *.csproj, *.csproj.*, */obj/
4find -newer lastBuild -name obj -type d -print | xargs /bin/rm -fr 10find -newer lastBuild -name obj -type d -print | xargs /bin/rm -fr
5find -newer lastBuild -name *.csproj -type f -print | xargs /bin/rm -f 11find -newer lastBuild -name *.csproj -type f -print | xargs /bin/rm -f
@@ -9,21 +15,19 @@ find -newer lastBuild -name *.dll.* -type f -print | xargs /bin/rm -f
9find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f 15find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f
10sleep 1 16sleep 1
11 17
12# Poor mans git sub modules, coz otherwise it gets complex. 18# Poor mans git sub modules / subtrees, coz otherwise it gets complex.
13if [ ! -d git-sub-modules/opensim-moneymodule-gloebit ]; then 19if [ ! -d git-sub-modules/opensim-moneymodule-gloebit ]; then
14 pushd git-sub-modules 20 pushd git-sub-modules >/dev/null
15 git clone https://github.com/gloebit/opensim-moneymodule-gloebit.git 21 git clone https://github.com/gloebit/opensim-moneymodule-gloebit.git
16 popd 22 popd >/dev/null
17else 23else
18 pushd git-sub-modules/opensim-moneymodule-gloebit 24 pushd git-sub-modules/opensim-moneymodule-gloebit >/dev/null
19 git pull 25 git pull
20 popd 26 popd >/dev/null
21fi 27fi
22rm -rf addon-modules/Gloebit/GloebitMoneyModule 28rm -rf addon-modules/Gloebit/GloebitMoneyModule
23cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/ 29cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/
24 30
25touch lastBuild
26
27./runprebuild.sh vs2010 31./runprebuild.sh vs2010
28 32
29# Prebuild converts Microsoft.CSharp.targets to Microsoft.CSHARP.Targets, which case sensitive file systems fail to find. 33# Prebuild converts Microsoft.CSharp.targets to Microsoft.CSHARP.Targets, which case sensitive file systems fail to find.
@@ -42,5 +46,4 @@ else
42# msbuild /p:Configuration=Debug 46# msbuild /p:Configuration=Debug
43fi 47fi
44 48
45
46cp -f addon-modules/Gloebit/GloebitMoneyModule/bin/Gloebit.dll bin 49cp -f addon-modules/Gloebit/GloebitMoneyModule/bin/Gloebit.dll bin