-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#1981 Allow inclusion of a file dev/tools/grunt/themes.local.js #1982
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
Conversation
amenk
commented
Sep 29, 2015
- include local theme configuration, so this can be comited to the local git and shared between developers
- I choose the path grunt instead of grunt/config because it would be bothersome to exclude all standard grunt configs
Unfortunately grunt/local is deleted after |
We have automated a Magento Contributor License Agreement verifier for contributions sent to our GitHub projects. |
Hi Alexander, Pros :
Cons :
|
Yes - the con is the problem. It is deployed via the magento framework composer package, so I can not change it in my git. What about moving the theme.js to app/etc/ and supply a theme.example.js ? |
I think its good point. |
okay shall I make a PR ? |
Yes. You are welcome :) |
Option 1: Options 2: Option 3: Both options are more complex to implement (okay, 2 more lines). So I would vote for Option 1. Please comment. |
* themes.js is no longer published with the project. So it will not be overwritten on composer updates of the Magento framework * Original themes.js becomes an example/template * themes.js is managed to app/etc - just like env.php
I have implemented the option 1. Actually I force-pushed it to the patch branch, so my old approach was removed from the history. Sorry. |
Any update on this one or has it been solved in another way @guz-anton? |
Hi Tobias, I'll notify here in case any changes. |
Notice about $ echo '/app/etc/theme.js' >> .git/info/exclude |
Any updates on this? |
cross-reference with: #4697 Not sure what the best solution between the two options is though. |
Just a notice: internal ticket MAGETWO-55345 has been created. |
@amenk, we need you to sign the CLA before we can proceed with further actions on your contribution. |
@Snohe I signed that thing a dozen times :-) How to sign it now? |
From now you have ability to place local See implementation for more details. Thanks for report, ideas and insights. |
…ta-migration [Obsessive-Owls] MAGETWO-70174: fix test xml files