Created
September 3, 2013 21:23
-
-
Save jtimberman/6429808 to your computer and use it in GitHub Desktop.
walk through all the cookbooks in the cookbooks directory and add a berksfile entry for each one at the path location. doesn't work so well on large repos.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dir.glob(File.join(File.dirname(__FILE__), "cookbooks", "*")).each do |cb| | |
| cookbook File.basename(cb), :path => cb | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment