Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally make Haddock errors fatal again #5704

Open
leonschoorl opened this issue Nov 21, 2018 · 0 comments
Open

Optionally make Haddock errors fatal again #5704

leonschoorl opened this issue Nov 21, 2018 · 0 comments

Comments

@leonschoorl
Copy link
Contributor

Since #5459 are nonfatal.
That's very nice in general, especially when you have documentation enabled globally.

But when running automated tests on my own code, I would like it to fail when I break haddock generation.

Could we have some flag to optionally make haddock generation errors fatal again?
Or maybe running cabal new-haddock could produce a fatal error when it fails, because you've explicitly asked for the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants