Merge pull request #3302 from maxim-belkin/readall-multiple-taps
readall: allow readall-ing multiple taps at once
This commit is contained in:
commit
460048bcb6
@ -1,6 +1,7 @@
|
|||||||
#: @hide_from_man_page
|
#: @hide_from_man_page
|
||||||
#: * `readall` [tap]:
|
#: * `readall` [tap]:
|
||||||
#: Import all formulae in a tap (defaults to core tap).
|
#: Import all formulae from specified taps (defaults to
|
||||||
|
#: all installed taps).
|
||||||
#:
|
#:
|
||||||
#: This can be useful for debugging issues across all formulae
|
#: This can be useful for debugging issues across all formulae
|
||||||
#: when making significant changes to `formula.rb`,
|
#: when making significant changes to `formula.rb`,
|
||||||
@ -31,7 +32,7 @@ module Homebrew
|
|||||||
taps = if ARGV.named.empty?
|
taps = if ARGV.named.empty?
|
||||||
Tap
|
Tap
|
||||||
else
|
else
|
||||||
[Tap.fetch(ARGV.named.first)]
|
ARGV.named.map { |t| Tap.fetch(t) }
|
||||||
end
|
end
|
||||||
taps.each do |tap|
|
taps.each do |tap|
|
||||||
Homebrew.failed = true unless Readall.valid_tap?(tap, options)
|
Homebrew.failed = true unless Readall.valid_tap?(tap, options)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user