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:
parent
7d852f10a7
commit
b06e9ce841
7
Library/Contributions/examples/brew-readall.rb
Executable file
7
Library/Contributions/examples/brew-readall.rb
Executable 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 }
|
||||
Loading…
x
Reference in New Issue
Block a user