brew/Library/Homebrew/cask/denylist.rb

18 lines
484 B
Ruby
Raw Normal View History

2020-10-20 12:03:48 +02:00
# typed: strict
# frozen_string_literal: true
module Cask
2020-08-24 22:52:16 +02:00
# List of casks which are not allowed in official taps.
module Denylist
2020-10-20 12:03:48 +02:00
sig { params(name: String).returns(T.nilable(String)) }
def self.reason(name)
case name
2020-06-02 09:49:23 +01:00
when /^adobe-(after|illustrator|indesign|photoshop|premiere)/
"Adobe casks were removed because they are too difficult to maintain."
when /^pharo$/
"Pharo developers maintain their own tap."
end
end
end
end