Skip to content
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

Add bower clean #65

Merged
merged 3 commits into from
Feb 23, 2014
Merged

Conversation

paulnsorensen
Copy link
Contributor

Added a script that parses each bower component's bower.json file in order to remove all files that are not listed as main files.

There are so many extra libs that bower installs that are not needed if we're just using the source file(s) to be included in the asset pipeline.

This was written as an alternative solution to #58, and ended up cleaning up our bower_components directories as an added bonus.

@@ -122,8 +129,6 @@ def perform_command remove_components = true, &block
end

folders.each do |dir|
puts "\nInstalling dependencies into #{dir}"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little noisy, and inaccurately printed for some tasks (including the one that this PR suggests), so I removed it.

@SergeyKishenin
Copy link
Collaborator

Thanks. Could you please update changelog?

@paulnsorensen
Copy link
Contributor Author

There you go.

@SergeyKishenin SergeyKishenin merged commit c855bfa into rharriso:master Feb 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants