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.
This commit is contained in:
Adam Vandenberg 2010-07-04 09:56:50 -07:00
parent 7d852f10a7
commit b06e9ce841

View File

@ -0,0 +1,7 @@
# `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 }