commercialhaskell/stack

haddock-error gets buried under warnings

Open

#2.605 geöffnet am 17. Sept. 2016

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)Haskell (848 Forks)batch import
awaiting pull requestcomponent: output (UI/UX)help wantedtype: enhancement

Repository-Metriken

Stars
 (4.060 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 10h) (6 gemergte PRs in 30 T)

Beschreibung

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)

Contributor Guide