commercialhaskell / commercialhaskell/stack
Pass options to HPC (like --xml-output)
Open
component: benchmark
component: coverage
component: options parsing
component: profiling
help wanted
type: enhancement
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
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
Assessment
This issue has not been assessed yet.