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 | |
| parent | 9382557a08f3983fbbe163e5c288b710f37bd2d5 (diff) | |
| download | brew-938dc356c1ec51a0cd826d901ec58777c89493cb.tar.bz2 | |
add official_taps
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 15 | ||||
| -rw-r--r-- | Library/Homebrew/official_taps.rb | 17 |
2 files changed, 19 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}, ] diff --git a/Library/Homebrew/official_taps.rb b/Library/Homebrew/official_taps.rb new file mode 100644 index 000000000..1da0819d4 --- /dev/null +++ b/Library/Homebrew/official_taps.rb @@ -0,0 +1,17 @@ +OFFICIAL_TAPS = %w[ + apache + binary + completions + devel-only + dupes + fuse + games + head-only + nginx + php + python + science + tex + versions + x11 +] |
