commercialhaskell/stack

haddock-error gets buried under warnings

Open

#2605 aperta il 17 set 2016

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)Haskell (848 fork)batch import
awaiting pull requestcomponent: output (UI/UX)help wantedtype: enhancement

Metriche repository

Star
 (4060 star)
Metriche merge PR
 (Merge medio 17g 10h) (6 PR mergiate in 30 g)

Descrizione

I am using

stack build --haddock --haddock-deps --haddock-arguments=--hyperlinked-source

This fails, because haddock gives an error on one of the source files (ghc does not). But it is hard to find out from stack's output:

  • last lines of stack output are just last lines of haddock warnings (and I have hundreds, like "missing documentation for ...") - I would expect a status message from stack saying that something failed
  • so, to check the status, and see the error, I have to scroll back on the screen (or in the log file, whose location was printed by stack, but to see that, I also have to wade back throught the warnings)

Guida contributor