Check that haddock passes on CI
Clarification and motivation
Apparently our CI doesn't check that haddock
succeeds for our packages. I am getting the following error locally:
src/Indigo/Compilation/Lambda.hs:158:7: error:
parse error on input ‘-- * Instructions without deeper code block’
|
158 | -- * Instructions without deeper code block
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build documentation for indigo-0.3.0.
We want to make sure that Haddock comments are valid.
Acceptance criteria
CI fails if haddock
fails for any our package.