Update of /cvsroot/bprocessor/build
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14696
Modified Files:
nightly.sh
Log Message:
improved output
Index: nightly.sh
===================================================================
RCS file: /cvsroot/bprocessor/build/nightly.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** nightly.sh 5 Dec 2006 11:08:37 -0000 1.5
--- nightly.sh 6 Dec 2006 00:08:45 -0000 1.6
***************
*** 20,23 ****
--- 20,24 ----
target=${name}.zip
+ echo '-- updating --'
cd ${root}/build
***************
*** 42,49 ****
cd ${root}/build
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
--- 43,55 ----
cd ${root}/build
+ echo '-- building --'
+
rm -f ${output}
! ./build.sh release >& output.txt
!
if [ -f ${output} ]; then
+ echo ' OK '
+ rm output.txt
cat preamble.txt > download.html
echo " <li> <a href=\"${address}/${name}.zip\">${name}</a>" >> download.html
***************
*** 51,55 ****
--- 57,86 ----
mv ${output} ${htmlroot}/${target}
mv download.html ${htmlroot}
+ else
+ cat output.txt
+ exit
fi
+ cd ${root}/test
+
+ echo '-- building test --'
+
+ rm dist/test.jar
+ ./build.sh clean dist >& output.txt
+
+ if [ -f dist/test.jar ]; then
+ echo ' OK '
+ rm output.txt
+ else
+ cat output.txt
+ exit
+ fi
+
+ echo '-- running test --'
+
+ ./test.sh
+
+ echo ' DONE '
+
+
|