mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ... To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` steps.
17 lines
477 B
Ruby
17 lines
477 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Cask
|
|
module Blacklist
|
|
def self.blacklisted_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
|
|
end
|
|
end
|