summaryrefslogtreecommitdiff
path: root/report.sh
diff options
context:
space:
mode:
Diffstat (limited to 'report.sh')
-rwxr-xr-xreport.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/report.sh b/report.sh
new file mode 100755
index 0000000..02935d8
--- /dev/null
+++ b/report.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -euo pipefail
+
+TITLE="Obnam benchmarks"
+obnam-benchmark report "$@" |
+ pandoc - -o obnam-benchmark.html --standalone -H report.css --toc --metadata title="$TITLE"