commercialhaskell/stack

Pass options to HPC (like --xml-output)

Open

#4,307 opened on Sep 11, 2018

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Haskell (4,060 stars) (848 forks)batch import
component: benchmarkcomponent: coveragecomponent: options parsingcomponent: profilinghelp wantedtype: enhancement

Description

I could not find a way to pass options to HPC (as documented in https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/profiling.html#hpc-report).

The one I am particularly interested in is --xml-output to be able to parse coverage (and hopefully convert it into SonarQube-compatible code coverage later). I could not find an equivalent in stack, stack hpc or stack hpc report documentation/help.

Contributor guide