3 # Generate code coverage reports with hpc.
4 # Needs to be run from within './tests'.
5 # Non-relevant modules are excluded from the final
10 ghc
-i..
-fhpc --make Main.hs
-odir=build
-hidir=build
&& \
12 hpc markup Main
--destdir=report
--exclude=Main
--exclude=Properties \
13 --exclude=Displayable
--exclude=Commands \
14 --exclude=StringConn
&& \
15 hpc report Main
--exclude=Main
--exclude=Properties
--exclude=Commands \
16 --exclude=Displayable
--exclude=StringConn