[PD-cvs] scripts automated-builder.sh,1.1,1.2
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Wed Jul 19 16:41:12 CEST 2006
Update of /cvsroot/pure-data/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15459
Modified Files:
automated-builder.sh
Log Message:
changed up to use rsync on the build machines
Index: automated-builder.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/automated-builder.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** automated-builder.sh 12 Jul 2006 21:34:15 -0000 1.1
--- automated-builder.sh 19 Jul 2006 14:41:10 -0000 1.2
***************
*** 3,13 ****
# 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=.
--- 3,23 ----
# this script is the first attempt to have an automated updater and builder
! auto_build_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/..
SYSTEM=`uname -s`
+ DATE=`date +%Y-%m-%d`
+ TIME=`date +%H.%M.%S`
+ LOGFILE=/tmp/build-log_${SYSTEM}_${DATE}_${TIME}.txt
! # convert into absolute path
! cd ${auto_build_root_dir}
! auto_build_root_dir=`pwd`
!
! echo "root: $auto_build_root_dir"
!
! cd ${auto_build_root_dir}/packages
! # let rsync handle the cleanup
! #make unpatch_pd
!
! rsync -av --delete rsync://128.238.56.50/pure-data/ ${auto_build_root_dir}/
BUILD_DIR=.
***************
*** 21,29 ****
cd "$BUILD_DIR"
make distclean
make package_clean
rm -rf build
make install && make package
- #make test_locations
#make test_package
--- 31,41 ----
cd "$BUILD_DIR"
+ pwd
make distclean
make package_clean
rm -rf build
+ #make -C "${auto_build_root_dir}/packages" patch_pd
make install && make package
#make test_package
+ make test_locations
More information about the Pd-cvs
mailing list