fpc/utils/fpdoc/examples/gentest.sh
michael c5495cb49c * Examples
git-svn-id: trunk@32376 -
2015-11-20 11:34:44 +00:00

11 lines
361 B
Bash

if [ -e ./fpdoc ]; then
FPDOC=./fpdoc
fi
NEWERDOC=`find bin -newer ./fpdoc -type f | xargs -r ls -t | head -1`
if [ ! -z "$NEWERDOC" ]; then
FPDOC="$NEWERDOC"
fi
echo "Using fpdoc executable $FPDOC"
echo "Writing output to fpdoctest"
$FPDOC --package=fpdoc --input='-S2 testunit.pp' --output=fpdoctest --format=html --warn-no-node -v --descr=testunit.xml