From 612070d30fb0efc0121d7a4a98858045aaa347d5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 12 Jul 2006 21:34:15 +0000 Subject: first stab at complete build automation svn path=/trunk/; revision=5369 --- scripts/automated-builder.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 scripts/automated-builder.sh (limited to 'scripts') diff --git a/scripts/automated-builder.sh b/scripts/automated-builder.sh new file mode 100755 index 00000000..4f1f2bdd --- /dev/null +++ b/scripts/automated-builder.sh @@ -0,0 +1,29 @@ +#!/bin/sh + +# this script is the first attempt to have an automated updater and builder + +cvs_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/.. +SYSTEM=`uname -s` + +cd "${cvs_root_dir}/packages" +make unpatch_pd +../scripts/update-developer-layout.sh +make patch_pd + +BUILD_DIR=. +if [ "$SYSTEM" == "Linux" ]; then + BUILD_DIR=linux_make +fi + +if [ "$SYSTEM" == "Darwin" ]; then + BUILD_DIR=darwin_app +fi + +cd "$BUILD_DIR" +make distclean +make package_clean +rm -rf build +make install && make package + +#make test_locations +#make test_package -- cgit v1.2.1