diff options
| author | Xu Cheng | 2015-05-29 19:16:01 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-06-01 20:08:41 +0800 |
| commit | 938dc356c1ec51a0cd826d901ec58777c89493cb (patch) | |
| tree | 004187f05c75342419cdb806d9b72fdf45002556 /Library/Homebrew/cmd | |
| parent | 9382557a08f3983fbbe163e5c288b710f37bd2d5 (diff) | |
| download | brew-938dc356c1ec51a0cd826d901ec58777c89493cb.tar.bz2 | |
add official_taps
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 0a291b5d9..93437c346 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -2,6 +2,7 @@ require 'formula' require 'blacklist' require 'utils' require 'thread' +require "official_taps" module Homebrew @@ -81,19 +82,7 @@ module Homebrew raise SEARCH_ERROR_QUEUE.pop unless SEARCH_ERROR_QUEUE.empty? end - SEARCHABLE_TAPS = [ - %w{Homebrew nginx}, - %w{Homebrew apache}, - %w{Homebrew versions}, - %w{Homebrew dupes}, - %w{Homebrew games}, - %w{Homebrew science}, - %w{Homebrew completions}, - %w{Homebrew binary}, - %w{Homebrew python}, - %w{Homebrew php}, - %w{Homebrew tex}, - %w{Homebrew x11}, + SEARCHABLE_TAPS = OFFICIAL_TAPS.map { |tap| ["Homebrew", tap] } + [ %w{Caskroom cask}, ] |
