aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-08-10 17:52:22 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-08-10 17:52:22 +0000
commitf8a784e255c9253b925ea755b5498b0887525c7b (patch)
treeaf5017632a7405fa905d42eec3ec10dc8ab30250 /scripts
parent7f2e6ab4a5c63e22666e22749d742e3792ae60f1 (diff)
setup git builder for vanilla
svn path=/trunk/; revision=13780
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/auto-build/pure-data-rsync-checkout7
-rwxr-xr-xscripts/auto-build/pure-data.git-auto-builder.sh37
2 files changed, 44 insertions, 0 deletions
diff --git a/scripts/auto-build/pure-data-rsync-checkout b/scripts/auto-build/pure-data-rsync-checkout
index b34c44b3..e4c81884 100755
--- a/scripts/auto-build/pure-data-rsync-checkout
+++ b/scripts/auto-build/pure-data-rsync-checkout
@@ -26,6 +26,13 @@ for dir in /home/pd/rsync/*; do
update_distro $dirname
done
+for dir in /home/pd/rsync/*.git; do
+ cd $dir
+ git pull
+ cd scripts
+ svn --ignore-externals update
+done
+
# since the above test can cause this script to exit with an error, force it
# to be happy to prevent getting automated error emails to root
true
diff --git a/scripts/auto-build/pure-data.git-auto-builder.sh b/scripts/auto-build/pure-data.git-auto-builder.sh
new file mode 100755
index 00000000..387b2855
--- /dev/null
+++ b/scripts/auto-build/pure-data.git-auto-builder.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+# the source dir where this script is
+## this could be done more easily with ${0%/*}
+SCRIPT_DIR=$(echo $0 | sed 's|\(.*\)/.*$|\1|')
+. $SCRIPT_DIR/auto-build-common
+
+# the name of this script
+## this could be done more easily with ${0##*/}
+SCRIPT=$(echo $0| sed 's|.*/\(.*\)|\1|g')
+
+# convert into absolute path
+cd "${SCRIPT_DIR}/../.."
+auto_build_root_dir=`pwd`
+echo "build root: $auto_build_root_dir"
+rsync_distro "$auto_build_root_dir"
+
+
+cd "${auto_build_root_dir}"
+echo "--------------------------------------------------------------------------------"
+git pull
+echo "--------------------------------------------------------------------------------"
+./autogen.sh
+echo "--------------------------------------------------------------------------------"
+./configure
+echo "--------------------------------------------------------------------------------"
+make
+echo "--------------------------------------------------------------------------------"
+mkdir "${auto_build_root_dir}/testinstall"
+make DESTDIR="${auto_build_root_dir}/testinstall" install
+echo "--------------------------------------------------------------------------------"
+make dist
+
+
+# since the above test can cause this script to exit with an error, force it
+# to be happy to prevent getting automated error emails to root
+true