2010-07-04 09:56:50 -07:00
|
|
|
# `brew readall` tries to import all formulae one-by-one.
|
|
|
|
# This can be useful for debugging issues across all formulae
|
2010-07-18 14:20:54 -07:00
|
|
|
# when making significant changes to formula.rb,
|
|
|
|
# or to determine if any current formulae have Ruby issues
|
2010-07-04 09:56:50 -07:00
|
|
|
|
|
|
|
require 'formula'
|
2010-07-18 14:20:54 -07:00
|
|
|
Formula.names.each do |n|
|
|
|
|
begin
|
2013-03-28 17:51:55 -05:00
|
|
|
Formula.factory(n)
|
2010-07-18 14:20:54 -07:00
|
|
|
rescue Exception => e
|
|
|
|
onoe "problem in #{Formula.path(n)}"
|
|
|
|
puts e
|
2014-04-11 15:11:14 +01:00
|
|
|
Homebrew.failed = true
|
2010-07-18 14:20:54 -07:00
|
|
|
end
|
|
|
|
end
|