diff options
-rwxr-xr-x | scripts/automated-builder.sh | 29 |
1 files changed, 29 insertions, 0 deletions
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 |