add official_taps
This commit is contained in:
parent
9382557a08
commit
938dc356c1
@ -2,6 +2,7 @@ require 'formula'
|
|||||||
require 'blacklist'
|
require 'blacklist'
|
||||||
require 'utils'
|
require 'utils'
|
||||||
require 'thread'
|
require 'thread'
|
||||||
|
require "official_taps"
|
||||||
|
|
||||||
module Homebrew
|
module Homebrew
|
||||||
|
|
||||||
@ -81,19 +82,7 @@ module Homebrew
|
|||||||
raise SEARCH_ERROR_QUEUE.pop unless SEARCH_ERROR_QUEUE.empty?
|
raise SEARCH_ERROR_QUEUE.pop unless SEARCH_ERROR_QUEUE.empty?
|
||||||
end
|
end
|
||||||
|
|
||||||
SEARCHABLE_TAPS = [
|
SEARCHABLE_TAPS = OFFICIAL_TAPS.map { |tap| ["Homebrew", tap] } + [
|
||||||
%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},
|
|
||||||
%w{Caskroom cask},
|
%w{Caskroom cask},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
17
Library/Homebrew/official_taps.rb
Normal file
17
Library/Homebrew/official_taps.rb
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
OFFICIAL_TAPS = %w[
|
||||||
|
apache
|
||||||
|
binary
|
||||||
|
completions
|
||||||
|
devel-only
|
||||||
|
dupes
|
||||||
|
fuse
|
||||||
|
games
|
||||||
|
head-only
|
||||||
|
nginx
|
||||||
|
php
|
||||||
|
python
|
||||||
|
science
|
||||||
|
tex
|
||||||
|
versions
|
||||||
|
x11
|
||||||
|
]
|
||||||
Loading…
x
Reference in New Issue
Block a user