-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Magento#25739: fixed issue "grunt clean does not clean generated folder" #25765
Magento#25739: fixed issue "grunt clean does not clean generated folder" #25765
Conversation
- added paths to directory "generated/" - fixed clean options
Hi @andrewbess. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
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.
Hi @andrewbess
Thanks for your contribution
Hi @Stepa4man, thank you for the review.
|
Hi @andrewbess . |
Hello @engcom-Alfa |
Hi @Stepa4man. I'm not sure about an optimistic way to cover this particular change with an autotest somehow. In some cases, we can create an integration test that will test files generation and similar operations. But in this case, we need to test a 3rd party application that doesn't go with Magento out of the box. So, we need to introduce a new flow for the CI system that will install nodeJs + grunt and test the result of Thank you. |
@rogyar Thanks for the recommendation. I have changed the label. |
Hi @andrewbess, thank you for your contribution! |
just curious why we need clean generated folder with grunt. From frontend works i think we don't need touch to generated folder |
From backend works. I think we can use command rm -r generated/* then re-run di compilation |
Description (*)
Fixed issue when the command
grunt clean
didn't clean the directory "generated/"Fixed Issues (if relevant)
Manual testing scenarios (*)
grunt clean
after commandbin/magento setup:di:compile
generated/code
should be emptygenerated/metadata
should be emptyQuestions or comments
Contribution checklist (*)