brew install lists available install options
brew install without additional arguments that is.
This commit is contained in:
parent
a67cf9bef2
commit
f7d8003f3b
8
bin/brew
8
bin/brew
@ -68,6 +68,14 @@ begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
when 'install'
|
when 'install'
|
||||||
|
if ARGV.named_empty?
|
||||||
|
# TODO I tried to columnise it using the 'column' utility but it uses
|
||||||
|
# tabs rather than spaces and the output looked wrong
|
||||||
|
puts "Available formulae:"
|
||||||
|
(HOMEBREW_PREFIX+'Library'+'Formula').children.each {|f| puts f.basename('.rb') }
|
||||||
|
exit 0
|
||||||
|
end
|
||||||
|
|
||||||
# we need to ensure a pristine ENV for each process or the formula
|
# we need to ensure a pristine ENV for each process or the formula
|
||||||
# will start with the ENV from the previous build
|
# will start with the ENV from the previous build
|
||||||
ARGV.formulae.each do |f|
|
ARGV.formulae.each do |f|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user