2020-10-10 14:16:11 +02:00
|
|
|
# typed: true
|
2019-09-08 09:09:37 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Cask
|
2020-08-24 22:52:16 +02:00
|
|
|
# List of casks which are not allowed in official taps.
|
|
|
|
#
|
|
|
|
# @api private
|
2020-06-06 21:10:16 +01:00
|
|
|
module Denylist
|
|
|
|
def self.reason(name)
|
2019-09-08 09:09:37 -04:00
|
|
|
case name
|
2020-06-02 09:49:23 +01:00
|
|
|
when /^adobe-(after|illustrator|indesign|photoshop|premiere)/
|
2019-09-08 09:09:37 -04:00
|
|
|
"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
|