-
Notifications
You must be signed in to change notification settings - Fork 710
Is it possible to new-configure --ghc-options=-Wall
for a particular local package?
#4577
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
Comments
Hmm, I thought we already had a ticket for this, but I can't find it right now. @hvr, maybe you remember? |
(commandline-flags, not package flags) |
It would indeed be convenient if we had a CLI syntax for |
perhaps just adding (perhaps: the
but i don't want to have to parse that either, especially in combination with |
Some ideas:
I haven't thought about which one of these would be easiest/hardest to implement. |
--ghc-options=-Wall
for current package, but not deps?--ghc-options=-Wall
for a particular local package?
I just did the above and cabal decided to recompile the deps (which is a bit surprising on its own, but probably correct since deps might start breaking if they had -Werror as well..).
I gather that I can do
manually in
cabal.project.local
but that'll get overwritten by the next new-configure.#4271 seems somewhat related.
The text was updated successfully, but these errors were encountered: