[PD-cvs] scripts update-developer-layout.sh, NONE, 1.1 nightly-build.sh, NONE, 1.1 checkout-developer-layout.sh, 1.6, 1.7

Hans-Christoph Steiner eighthave at users.sourceforge.net
Thu Apr 6 03:38:57 CEST 2006


Update of /cvsroot/pure-data/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25058

Modified Files:
	checkout-developer-layout.sh 
Added Files:
	update-developer-layout.sh nightly-build.sh 
Log Message:
fixed up scripts to work better for others

Index: checkout-developer-layout.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/checkout-developer-layout.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** checkout-developer-layout.sh	15 Feb 2006 19:10:46 -0000	1.6
--- checkout-developer-layout.sh	6 Apr 2006 01:38:54 -0000	1.7
***************
*** 38,45 ****
  cd pure-data
  
! for section in abstractions doc extensions externals pd packages scripts; do
      cvs checkout $section
  done
  
  # Gem is still separate
  echo -e "\n\n The password to the Gem anonymous CVS access is blank, so just press Enter\n"
--- 38,48 ----
  cd pure-data
  
! for section in abstractions doc extensions externals packages scripts; do
      cvs checkout $section
  done
  
+ # For Pd-extended, "pd" needs to be a specific version currently, not HEAD
+ cvs checkout -r v0-39-2 pd
+ 
  # Gem is still separate
  echo -e "\n\n The password to the Gem anonymous CVS access is blank, so just press Enter\n"

--- NEW FILE: nightly-build.sh ---
#!/bin/sh

cvs_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/..
UNAME=`uname -s`
RECIPIENTS="hans at eds.org"
DATE=`date +%Y-%m-%d_%H.%M.%S`
LOGFILE="/tmp/pd-autobuild-${DATE}.txt"

cd $cvs_root_dir
scripts/update-developer-layout.sh

# Apple Mac OS X 
if [ "${UNAME}" == "Darwin" ]; then
cd packages/darwin_app
fi

# GNU/Linux
if [ "${UNAME}" == "Darwin" ]; then
cd packages/linux_make
fi

# MinGW for MS Windows
if [ "${UNAME}" == "MINGW32_NT-5.1" ]; then
cd packages/win32_inno
fi

make install && make package > $LOGFILE 2>&1

cat $LOGFILE | mail -s "Pd Autobuild Log on $UNAME - $DATE" $RECIPIENTS

--- NEW FILE: update-developer-layout.sh ---
#!/bin/sh

# this script updates all code from CVS in the standard developer's layout.
# <hans at at.or.at>

# Usage: just run it and it should find things if you have your stuff layed
# out in the standard dev layout, or used checkout-developer-layout.sh to
# checkout your pd source tree

# Be aware that SourceForge's anonymous CVS server is generally 24 hours
# behind the authenticated CVS.

cvs_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/..

cd $cvs_root_dir

# don't update the "pd" tree yet, since Pd-extended is still built against a
# static tag, and not HEAD
for section in abstractions doc extensions externals packages scripts Gem GemLibs; do
	 echo "$section"
	 cd $section
    cvs up
	 cd ..
done





More information about the Pd-cvs mailing list