Added some utility targets pour moi.
Better error checking. There's now a nightly builds HTML page, for use with a script like the following: #! /bin/sh JSKAD=/www/nightly/Jskad DEST=/www/nightly/builds HISTORY=/www/nightly/history DATE=`date` if test ! -d $DEST; then \ echo "$DEST does not exist ($DATE)." >> history; exit 1; fi (rm -fr ${DEST}/* && cd $JSKAD && cvs -f -z3 update -dP && ant dc-nightly-build \ && cp dist/nightlyBuild.zip $DEST && cd $DEST && unzip nightlyBuild.zip \ && rm nightlyBuild.zip && \ (cd docs \ && mv private-javadocs-*.zip private-javadocs-today.zip \ && mv public-javadocs-*.zip public-javadocs-today.zip \ && mkdir public && mkdir private && \ (cd public \ && unzip ../public-javadocs-today.zip) && \ (cd private \ && unzip ../private-javadocs-today.zip)) \ && \ (cd source \ && mv THDL-Tools-src-*.zip THDL-Tools-src-today.zip)) if test $? != 0; then echo "NIGHTLY BUILD FAILED on $DATE" >> $HISTORY; exit 2; fi (cd $JSKAD && ant check) DDATE=`date` if test $? != 0; then echo "'ant check' FAILED on $DATE" >> $HISTORY; exit 3; fi DDDATE=`date` echo "Success on start=$DATE build=$DDATE check=$DDDATE" >> $HISTORY exit 0
This commit is contained in:
parent
aa144dd599
commit
69b07cda65
4 changed files with 149 additions and 14 deletions
|
@ -1,6 +1,7 @@
|
|||
*~
|
||||
NightlyBuildStore
|
||||
TEST*
|
||||
bin
|
||||
jskad.log
|
||||
savant.log
|
||||
qd.log
|
||||
TEST*
|
||||
*~
|
||||
savant.log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue