Update of /cvsroot/bprocessor/build
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1808
Modified Files:
nightly.sh
Added Files:
postamble.txt preamble.txt
Log Message:
Nightly build script complete
Index: nightly.sh
===================================================================
RCS file: /cvsroot/bprocessor/build/nightly.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** nightly.sh 1 Dec 2006 13:31:38 -0000 1.1
--- nightly.sh 3 Dec 2006 16:11:58 -0000 1.2
***************
*** 1,13 ****
#!/bin/sh
! root=/Users/henryml/b-processor
cd ${root}/build
version=`$ANT_HOME/bin/ant --noconfig -quiet version | grep echo | sed -e 's%^.*M%M%g'`
time=`date "+20%y-%m-%d"`
- echo bprocessor-${version}.zip
- echo bprocessor-${version}-${time}.zip
! exit
--- 1,19 ----
#!/bin/sh
!
! root=$HOME/bprocessor
! htmlroot=$HOME/public_html/b-processor
!
! echo $root
! echo $htmlroot
cd ${root}/build
version=`$ANT_HOME/bin/ant --noconfig -quiet version | grep echo | sed -e 's%^.*M%M%g'`
time=`date "+20%y-%m-%d"`
! address='http://www.daimi.au.dk/~henryml/b-processor'
! name="bprocessor-${version}-${time}"
! output="bprocessor-${version}.zip"
! target=${name}.zip
***************
*** 31,36 ****
cvs -q update -dP
! cd ${root}/build
./build.sh release
--- 37,52 ----
cvs -q update -dP
!
!
! rm -f ${output}
./build.sh release
+ if [ -f ${output} ]; then
+ cat preamble.txt > download.html
+ echo " <li> <a href=\"${address}/${name}.zip\">${name}</a>" >> download.html
+ cat postamble.txt >> download.html
+ mv ${output} ${htmlroot}/${target}
+ mv download.html ${htmlroot}
+ fi
+
--- NEW FILE: preamble.txt ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Download B-processor</title>
</head>
<body>
<h1>Latest Nightly Build</h1>
<p> B-processor are build every night. If the build succeeds, it is made available
for download through the following link, which therefore always points to the
latest successful build.
<ul>
--- NEW FILE: postamble.txt ---
</ul>
<h1>Release Versions</h1>
<ul>
<li> <a href="http://www.daimi.au.dk/~henryml/b-processor/bprocessor-M8a.zip">bprocessor-M8a</a>
</ul>
</body>
</html>
|