diff options
Diffstat (limited to '')
-rwxr-xr-x | BuildIt.sh | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -8,6 +8,20 @@ find -newer lastBuild -name *.dll -type f -print | xargs /bin/rm -f | |||
8 | find -newer lastBuild -name *.dll.* -type f -print | xargs /bin/rm -f | 8 | 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 | 9 | find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f |
10 | sleep 1 | 10 | sleep 1 |
11 | |||
12 | # Poor mans git sub modules, coz otherwise it gets complex. | ||
13 | if [ ! -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 | ||
17 | else | ||
18 | pushd git-sub-modules/opensim-moneymodule-gloebit | ||
19 | git pull | ||
20 | popd | ||
21 | fi | ||
22 | rm -rf addon-modules/Gloebit/GloebitMoneyModule | ||
23 | cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/ | ||
24 | |||
11 | touch lastBuild | 25 | touch 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 |
29 | fi | 43 | fi |
44 | |||
45 | |||
46 | cp -f addon-modules/Gloebit/GloebitMoneyModule/bin/Gloebit.dll bin | ||