aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xBuildIt.sh17
-rw-r--r--git-sub-modules/README2
3 files changed, 21 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index cec33fd..e4f7fc3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -86,3 +86,5 @@ doc/html
86doc/doxygen.error.log 86doc/doxygen.error.log
87 87
88*.patch 88*.patch
89
90git-sub-modules/*/
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
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 @@
1Put git sub modules here, and then add code to BuildIt.sh to move them to
2where they are needed, or link them.