new result dir, splitted by host

This commit is contained in:
Peter Hedenskog 2013-03-11 19:31:15 +01:00
parent 2cf37e1f91
commit a97da178f8
3 changed files with 5 additions and 3 deletions

View File

@ -2,6 +2,7 @@ CHANGELOG sitespeed.io
version 1.8
------------------------
* Changed report dir name. Before it was sitespeed-HOST-NOWDATE, now it is HOST/NOWDATE, to make it easier to compare runs over time
* Added new XML format for the summary page.
* Bug fix: The check for number of DOM elements where wrong when checking for warning

View File

@ -243,7 +243,7 @@ HTMLCOMPRESSOR_JAR=htmlcompressor-1.5.3.jar
# Setup dirs
DEPENDENCIES_DIR="dependencies"
REPORT_DIR_NAME=sitespeed-$HOST-$NOW
REPORT_DIR_NAME=$HOST/$NOW
REPORT_DIR=$REPORT_BASE_DIR/$REPORT_DIR_NAME
REPORT_DATA_DIR=$REPORT_DIR/data
REPORT_PAGES_DIR=$REPORT_DIR/pages

View File

@ -4,8 +4,9 @@
cd "$(dirname ${BASH_SOURCE[0]})"
UNIQUE_DIR=$(ls -1 ../build/sitespeed-result/ | head -n1);
RESULT_DIR=$( cd ../build/sitespeed-result/$UNIQUE_DIR && pwd)
DOMAIN_DIR=$(ls -1 ../build/sitespeed-result/ | head -n1);
DATE_DIR=$(ls -1 ../build/sitespeed-result/$DOMAIN_DIR | head -n1);
RESULT_DIR=$( cd ../build/sitespeed-result/$DOMAIN_DIR/$DATE_DIR && pwd)
files=( index.html errorurls.html pages.html rules.html pages/1.html pages/2.html pages/3.html)