Adam Vandenberg b06e9ce841 external command 'brew readall' that tries to import all brews
This can be useful for debugging when making changes to formula.rb,
since that can cause problems across all formuale.
2010-07-04 11:23:32 -07:00

8 lines
249 B
Ruby
Executable File

# `brew readall` tries to import all formulae one-by-one.
# This can be useful for debugging issues across all formulae
# when making significant changes to formula.rb
require 'formula'
names = []
Formulary.read_all { |name, klass| names << name }