Skip to content
Snippets Groups Projects
Commit 6ce84c4f authored by Markus Reiter's avatar Markus Reiter
Browse files

Add `OFFICIAL_CASK_TAPS` in `official_taps.rb`.

parent 3c017a74
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment