brew/Library/Homebrew/official_taps.rb
Mike McQuaid 8adc188992
Import brew alias and brew unalias commands
Import these from the homebrew/aliases tap and deprecate that tap.

This required a little messing around with class/module/constant names
to get `brew tests` and `brew typecheck` to play nicely.

I added also added Sorbet type signatures and integration tests.
2025-02-07 14:31:50 +00:00

40 lines
667 B
Ruby

# typed: strict
# frozen_string_literal: true
OFFICIAL_CASK_TAPS = %w[
cask
].freeze
OFFICIAL_CMD_TAPS = T.let({
"homebrew/bundle" => ["bundle"],
"homebrew/command-not-found" => ["command-not-found-init", "which-formula", "which-update"],
"homebrew/test-bot" => ["test-bot"],
"homebrew/services" => ["services"],
}.freeze, T::Hash[String, T::Array[String]])
DEPRECATED_OFFICIAL_TAPS = %w[
aliases
apache
binary
cask-drivers
cask-eid
cask-fonts
cask-versions
completions
devel-only
dupes
emacs
fuse
games
gui
head-only
livecheck
nginx
php
python
science
tex
versions
x11
].freeze