aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-03-19 20:45:21 +0200
committerMike McQuaid2017-03-19 20:45:21 +0200
commiteadbd95d2c785c78ac4d6deee37e0841fc155d6b (patch)
treef164d0d1937c322b9df0401a54a8a2c3c10aba12 /Library/Homebrew/formula_support.rb
parent09a926f449fd1470911b6ea3efb43fab3b839491 (diff)
downloadbrew-eadbd95d2c785c78ac4d6deee37e0841fc155d6b.tar.bz2
audit: check system dupe deps on new formulae.
Provide a gentle nudge to users to check if these dependencies are definitely required.
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index dcb995a6b..b8476f5cc 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -4,6 +4,8 @@ FormulaConflict = Struct.new(:name, :reason)
# Used to annotate formulae that duplicate macOS provided software
# or cause conflicts when linked in.
class KegOnlyReason
+ attr_reader :reason
+
def initialize(reason, explanation)
@reason = reason
@explanation = explanation