aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-06 01:38:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-06 01:38:54 +0000
commitf9ff978c9c58d6da052d1802c680da415c5a9212 (patch)
tree3628c18a4e89b37778931dbee46eaa30c41cf1ea /scripts
parent20765019036094d5957b1423a8ff106ca63eb117 (diff)
fixed up scripts to work better for others
svn path=/trunk/; revision=4817
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkout-developer-layout.sh5
-rwxr-xr-xscripts/nightly-build.sh29
-rwxr-xr-xscripts/update-developer-layout.sh24
3 files changed, 57 insertions, 1 deletions
diff --git a/scripts/checkout-developer-layout.sh b/scripts/checkout-developer-layout.sh
index c37d0a57..1a075140 100755
--- a/scripts/checkout-developer-layout.sh
+++ b/scripts/checkout-developer-layout.sh
@@ -37,10 +37,13 @@ fi
mkdir pure-data
cd pure-data
-for section in abstractions doc extensions externals pd packages scripts; do
+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"
export CVSROOT=:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem
diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh
new file mode 100755
index 00000000..622aa971
--- /dev/null
+++ b/scripts/nightly-build.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+cvs_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/..
+UNAME=`uname -s`
+RECIPIENTS="hans@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
diff --git a/scripts/update-developer-layout.sh b/scripts/update-developer-layout.sh
new file mode 100755
index 00000000..0247fcb8
--- /dev/null
+++ b/scripts/update-developer-layout.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# this script updates all code from CVS in the standard developer's layout.
+# <hans@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