diff options
| author | Markus Reiter | 2017-03-04 19:45:21 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-04-20 05:22:34 +0200 |
| commit | 6ce84c4fb8a4a6910fe05848e0c732d02c84e8cf (patch) | |
| tree | ded23c4a20ca10d7ad5de3a6951ed16b5f80363f /Library | |
| parent | 3c017a7405a51ccdf3f00bbde6464b73faaf0f82 (diff) | |
| download | brew-6ce84c4fb8a4a6910fe05848e0c732d02c84e8cf.tar.bz2 | |
Add `OFFICIAL_CASK_TAPS` in `official_taps.rb`.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 6 | ||||
| -rw-r--r-- | Library/Homebrew/official_taps.rb | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index a5d4d0fca..20221524a 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -100,10 +100,8 @@ module Homebrew raise SEARCH_ERROR_QUEUE.pop unless SEARCH_ERROR_QUEUE.empty? end - SEARCHABLE_TAPS = OFFICIAL_TAPS.map { |tap| ["Homebrew", tap] } + [ - %w[caskroom cask], - %w[caskroom versions], - ] + SEARCHABLE_TAPS = OFFICIAL_TAPS.map { |tap| ["Homebrew", tap] } + + OFFICIAL_CASK_TAPS.map { |tap| ["caskroom", tap] } def query_regexp(query) case query diff --git a/Library/Homebrew/official_taps.rb b/Library/Homebrew/official_taps.rb index a7bc4a1d6..e069e5265 100644 --- a/Library/Homebrew/official_taps.rb +++ b/Library/Homebrew/official_taps.rb @@ -5,6 +5,11 @@ OFFICIAL_TAPS = %w[ science ].freeze +OFFICIAL_CASK_TAPS = %w[ + cask + versions +].freeze + OFFICIAL_CMD_TAPS = { "homebrew/bundle" => ["bundle"], "homebrew/test-bot" => ["test-bot"], |
