diff options
| author | Xu Cheng | 2016-03-06 14:50:33 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-04-02 21:51:36 +0800 |
| commit | a5cfc011e01f6a57f9251ee6dc88f706d2af79ed (patch) | |
| tree | b1730091d6e855fc5e7507fb2825b34b59c95e68 /Library/Homebrew/formula.rb | |
| parent | c5132daf630f3854e0b0a115bfee820aba334a02 (diff) | |
| download | brew-a5cfc011e01f6a57f9251ee6dc88f706d2af79ed.tar.bz2 | |
various: Homebrew/core is the core tap
Also make `Homebrew/homebrew` as an alias of this tap to keep
backward compatibility.
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index c2363fcde..d9c648c9c 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1073,13 +1073,13 @@ class Formula # an array of all tap {Formula} names # @private def self.tap_names - @tap_names ||= Tap.flat_map(&:formula_names).sort + @tap_names ||= Tap.reject(&:core_tap?).flat_map(&:formula_names).sort end # an array of all tap {Formula} files # @private def self.tap_files - @tap_files ||= Tap.flat_map(&:formula_files) + @tap_files ||= Tap.reject(&:core_tap?).flat_map(&:formula_files) end # an array of all {Formula} names @@ -1152,7 +1152,7 @@ class Formula # an array of all tap aliases # @private def self.tap_aliases - @tap_aliases ||= Tap.flat_map(&:aliases).sort + @tap_aliases ||= Tap.reject(&:core_tap?).flat_map(&:aliases).sort end # an array of all aliases |
