#!/bin/sh BROWSER="firefox" BASE_DIR="tmp/" datetime=`date +'%Y%m%d-%H%M%S'` report_dir="${BASE_DIR}coverage-report-${datetime}" mkdir -p "$report_dir" coverage html --skip-covered -d "$report_dir" start_file="${report_dir}/index.html" $BROWSER --new-window "$start_file" >/dev/null 2>&1 &