Module: Cask::Denylist Private

Extended by:
T::Sig
Defined in:
brew/Library/Homebrew/cask/denylist.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

List of casks which are not allowed in official taps.

Class Method Summary collapse

Class Method Details

.reason(name) ⇒ String?

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

Returns:



12
13
14
15
16
17
18
19
20
21
# File 'brew/Library/Homebrew/cask/denylist.rb', line 12

def self.reason(name)
  case name
  when /^adobe-(after|illustrator|indesign|photoshop|premiere)/
    "Adobe casks were removed because they are too difficult to maintain."
  when /^audacity$/
    "Audacity was removed because it is too difficult to download programmatically."
  when /^pharo$/
    "Pharo developers maintain their own tap."
  end
end