aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/BuildIt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'BuildIt.sh')
-rwxr-xr-xBuildIt.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/BuildIt.sh b/BuildIt.sh
index 86948b6..2b12b0a 100755
--- a/BuildIt.sh
+++ b/BuildIt.sh
@@ -8,6 +8,20 @@ find -newer lastBuild -name *.dll -type f -print | xargs /bin/rm -f
8find -newer lastBuild -name *.dll.* -type f -print | xargs /bin/rm -f 8find -newer lastBuild -name *.dll.* -type f -print | xargs /bin/rm -f
9find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f 9find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f
10sleep 1 10sleep 1
11
12# Poor mans git sub modules, coz otherwise it gets complex.
13if [ ! -d git-sub-modules/opensim-moneymodule-gloebit ]; then
14 pushd git-sub-modules
15 git clone https://github.com/gloebit/opensim-moneymodule-gloebit.git
16 popd
17else
18 pushd git-sub-modules/opensim-moneymodule-gloebit
19 git pull
20 popd
21fi
22rm -rf addon-modules/Gloebit/GloebitMoneyModule
23cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/
24
11touch lastBuild 25touch lastBuild
12 26
13./runprebuild.sh vs2010 27./runprebuild.sh vs2010
@@ -27,3 +41,6 @@ else
27 msbuild /p:Configuration=Release 41 msbuild /p:Configuration=Release
28# msbuild /p:Configuration=Debug 42# msbuild /p:Configuration=Debug
29fi 43fi
44
45
46cp -f addon-modules/Gloebit/GloebitMoneyModule/bin/Gloebit.dll bin