commercialhaskell/stack

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

Open

#4.307 geöffnet am 11. Sept. 2018

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (848 Forks)batch import
component: benchmarkcomponent: coveragecomponent: options parsingcomponent: profilinghelp wantedtype: enhancement

Repository-Metriken

Stars
 (4.060 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14h 21m) (12 gemergte PRs in 30 T)

Beschreibung

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