#! /bin/sh

HPC_DIR=dist/hpc

cabal clean
cabal configure --enable-tests --enable-library-coverage
cabal build
cabal test

open ${HPC_DIR}/html/*/hpc-index.html

#! /bin/sh

HPC_DIR=dist/hpc

cabal-dev clean
cabal-dev configure --enable-tests --enable-library-coverage
cabal-dev build
cabal-dev test

open ${HPC_DIR}/html/*/hpc-index.html

Use cabal-dev for hpc report generation
Use cabal-dev for hpc report generation
