allow for user-specific config file

In this way the defaults can be overriden/changed making usage more
concises.
This commit is contained in:
AD7six 2014-01-29 10:26:15 +00:00
parent 4367ec6a4c
commit 1cbab5ddeb
1 changed files with 6 additions and 0 deletions

View File

@ -120,6 +120,12 @@ BROWSERTIME_JAR=browsertime-0.5-full.jar
# Don't fetch Navigation Timing metrics by default
COLLECT_BROWSER_TIMINGS=false
# Load user-specific config file if it exists
if [ -f ~/.sitespeedio ]
then
source ~/.sitespeedio
fi
# Store the input to be able to log exactly how/what was done
INPUT="$@"