commercialhaskell/stack

haddock-error gets buried under warnings

Open

#2,605 建立於 2016年9月17日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Haskell (848 fork)batch import
awaiting pull requestcomponent: output (UI/UX)help wantedtype: enhancement

倉庫指標

Star
 (4,060 star)
PR 合併指標
 (平均合併 17天 10小時) (30 天內合併 6 個 PR)

描述

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)

貢獻者指南