diff options
author | onefang | 2020-03-21 01:53:21 +1000 |
---|---|---|
committer | onefang | 2020-03-21 01:53:21 +1000 |
commit | 88bdf88cfe5991409ace657b0860e4dad47d58d6 (patch) | |
tree | 1bd749a8b1ba174f6566cf924349f7dfd3549f29 | |
parent | TODO-- (diff) | |
download | opensim-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-x | BuildIt.sh | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -1,5 +1,11 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | touch lastBuild | ||
4 | |||
5 | pushd src >/dev/null | ||
6 | ./BuildIt.sh | ||
7 | popd >/dev/null | ||
8 | |||
3 | # Delete *.pdb, *.dll, *,dll.*, *.csproj, *.csproj.*, */obj/ | 9 | # Delete *.pdb, *.dll, *,dll.*, *.csproj, *.csproj.*, */obj/ |
4 | find -newer lastBuild -name obj -type d -print | xargs /bin/rm -fr | 10 | find -newer lastBuild -name obj -type d -print | xargs /bin/rm -fr |
5 | find -newer lastBuild -name *.csproj -type f -print | xargs /bin/rm -f | 11 | find -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 | |||
9 | find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f | 15 | find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f |
10 | sleep 1 | 16 | sleep 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. |
13 | if [ ! -d git-sub-modules/opensim-moneymodule-gloebit ]; then | 19 | if [ ! -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 |
17 | else | 23 | else |
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 |
21 | fi | 27 | fi |
22 | rm -rf addon-modules/Gloebit/GloebitMoneyModule | 28 | rm -rf addon-modules/Gloebit/GloebitMoneyModule |
23 | cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/ | 29 | cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/ |
24 | 30 | ||
25 | touch 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 |
43 | fi | 47 | fi |
44 | 48 | ||
45 | |||
46 | cp -f addon-modules/Gloebit/GloebitMoneyModule/bin/Gloebit.dll bin | 49 | cp -f addon-modules/Gloebit/GloebitMoneyModule/bin/Gloebit.dll bin |