output number of pages crawled

This commit is contained in:
Peter Hedenskog 2012-08-08 16:56:55 +02:00
parent 3eb7dcc640
commit dbe3232b2c
1 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,8 @@ done)
result=($(printf '%s\n' "${links[@]}"|sort|uniq))
echo "Fetched ${#result[@]} pages"
# Setup dirs
REPORT_DIR="sitespeed-result/sitespeed-$HOST-$NOW"
REPORT_DATA_DIR="$REPORT_DIR/data"
@ -88,7 +90,7 @@ do
done
echo '</document>'>> "$REPORT_DATA_DIR/result.xml"
echo 'Create the page report HTML'
echo 'Create the page report HTML'
java -jar dependencies/xml-velocity-1.0-full.jar $REPORT_DATA_DIR/result.xml report/velocity/pages.vm report/properties/pages.properties $REPORT_DIR/report.html
echo 'Create the summary HTML'