From 88bdf88cfe5991409ace657b0860e4dad47d58d6 Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 21 Mar 2020 01:53:21 +1000 Subject: Build sledjchisl when building the rest. --- BuildIt.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'BuildIt.sh') diff --git a/BuildIt.sh b/BuildIt.sh index 2b12b0a..4a98862 100755 --- a/BuildIt.sh +++ b/BuildIt.sh @@ -1,5 +1,11 @@ #!/bin/bash +touch lastBuild + +pushd src >/dev/null +./BuildIt.sh +popd >/dev/null + # Delete *.pdb, *.dll, *,dll.*, *.csproj, *.csproj.*, */obj/ find -newer lastBuild -name obj -type d -print | xargs /bin/rm -fr 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 find -newer lastBuild -name *.pdb -type f -print | xargs /bin/rm -f sleep 1 -# Poor mans git sub modules, coz otherwise it gets complex. +# Poor mans git sub modules / subtrees, coz otherwise it gets complex. if [ ! -d git-sub-modules/opensim-moneymodule-gloebit ]; then - pushd git-sub-modules + pushd git-sub-modules >/dev/null git clone https://github.com/gloebit/opensim-moneymodule-gloebit.git - popd + popd >/dev/null else - pushd git-sub-modules/opensim-moneymodule-gloebit + pushd git-sub-modules/opensim-moneymodule-gloebit >/dev/null git pull - popd + popd >/dev/null fi rm -rf addon-modules/Gloebit/GloebitMoneyModule cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/ -touch lastBuild - ./runprebuild.sh vs2010 # Prebuild converts Microsoft.CSharp.targets to Microsoft.CSHARP.Targets, which case sensitive file systems fail to find. @@ -42,5 +46,4 @@ else # msbuild /p:Configuration=Debug fi - cp -f addon-modules/Gloebit/GloebitMoneyModule/bin/Gloebit.dll bin -- cgit v1.1