From: Julien Tanguy Date: Tue, 17 Nov 2015 12:15:11 +0000 (+0100) Subject: Copy benchmark *before* cd-ing into haddock dir X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=155ab4a48852dcf5a8918cdd18d2503e48007af2;p=github%2Ffretlink%2Fhmacaroons.git Copy benchmark *before* cd-ing into haddock dir --- diff --git a/scripts/pushdoc.sh b/scripts/pushdoc.sh index ccae6c9..653d599 100644 --- a/scripts/pushdoc.sh +++ b/scripts/pushdoc.sh @@ -4,12 +4,12 @@ set -e # exit with nonzero exit code if anything fails # Build documentation cabal haddock -# Go to haddock output dir -cd dist/doc/html/hmacaroons - # Copy benchmark cp benchmark.html dist/doc/html/hmacaroons +# Go to haddock output dir +cd dist/doc/html/hmacaroons + # Quiet the git init message, since it's not useful in the build log git init > /dev/null 2>&1