-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Cabal plugin: implement check for package.yaml in a stack project #4422
Conversation
Revert "added guardAgainstHpack function" This reverts commit f7fb00c. added guardAgainstHpack function
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.
Looks great, thanks! One little nitpick about the documentation, then this is good to go 🎊
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.
Thank you very much for this PR!
I just have a small nitpick regarding the documentation :)
Co-authored-by: VeryMilkyJoe <jana.chadt@nets.at>
Solves: #4400
Modifies
findResponsibleCabalFile
function to addguardAgainstHpack
function which checks if apackage.yaml
file exists in the same directory as the.cabal
file and handles the response in the cabal plugin.Prevents stack from not more re-generating .cabal file if package.yaml is changed.