-
Notifications
You must be signed in to change notification settings - Fork 711
Add TARGET option to cabal check
#9605
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
base: master
Are you sure you want to change the base?
Conversation
12b3f7b
to
ae4c4b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's pretty confusing that cabal check TARGET
is a completely different target syntax to cabal build TARGET
or any other notion of TARGET in cabal.
Shouldn't cabal check
work like cabal build
.. so cabal check all
, will check all the packages in the project scope. cabal check foo
will check the package foo etc.
It makes sense, let me see if it is feasible (as now |
e.g. `cabal check ~/my-projects/reactive-strawberry/`
@ffaf1: do you want any help to resurrect this one? |
Argh, using a target instead of a folder, I could not do. Let me see if I can rebase and continue the work, the logic is there. |
Closes #6282
e.g.
cabal check ~/my-projects/reactive-strawberry/
Include the following checklist in your PR:
QA Notes
cabal init foo
cabal check foo
'check' doesn't take any extra arguments
error