diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | BuildIt.sh | 17 | ||||
-rw-r--r-- | git-sub-modules/README | 2 |
3 files changed, 21 insertions, 0 deletions
@@ -86,3 +86,5 @@ doc/html | |||
86 | doc/doxygen.error.log | 86 | doc/doxygen.error.log |
87 | 87 | ||
88 | *.patch | 88 | *.patch |
89 | |||
90 | git-sub-modules/*/ | ||
@@ -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 | ||
diff --git a/git-sub-modules/README b/git-sub-modules/README new file mode 100644 index 0000000..c7a111b --- /dev/null +++ b/git-sub-modules/README | |||
@@ -0,0 +1,2 @@ | |||
1 | Put git sub modules here, and then add code to BuildIt.sh to move them to | ||
2 | where they are needed, or link them. | ||