commercialhaskell/stack

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

Open

#4307 aperta il 11 set 2018

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Haskell (848 fork)batch import
component: benchmarkcomponent: coveragecomponent: options parsingcomponent: profilinghelp wantedtype: enhancement

Metriche repository

Star
 (4060 star)
Metriche merge PR
 (Merge medio 14h 21m) (12 PR mergiate in 30 g)

Descrizione

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.

Guida contributor