-
Notifications
You must be signed in to change notification settings - Fork 128
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
Use root .bowerrc as starting point, rather than creating one from scratch #40
Conversation
Seems like we should create |
You were right, I forgot that a .bowerrc is optional. Added a check if the file exists. Solution is a bit ugly since I have copied the |
looks like pull request #41 created some conflicts. Please resubmit pull. |
@rharriso I merged the changes and rebased, should be good for a clean pull. |
Conflicts @ Changelog.md now. Rebase again, please. |
…ratch. Remove uneeded method.
Use root .bowerrc as starting point, rather than creating one from scratch
Thanks, merged! |
In the case where a custom .bowerrc is needed, for example, with custom registries, it seemed that bower-rails was ignoring .bowerrc in the rails root directory, and generating a new .bowerrc per group. This loses any required settings. I didn't see any other way to set registries in bower-rails.
This PR reads the root .bowerrc, and merges in the "bower_components" directory to create the new generated .bowerrc files.