aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-30 18:11:25 -0500
committerJack Nagel2014-05-30 18:16:56 -0500
commite0d8325528bb78524f27846bf6d85827227264f6 (patch)
tree7dc6862653230d26b2df7bd852ded088d56c3c57 /Library
parent080a13aaf352fa31cad8029c4d2dbfd0699e8def (diff)
downloadhomebrew-e0d8325528bb78524f27846bf6d85827227264f6.tar.bz2
Deprecate implicit build-time requirements
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/requirement.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb
index b3acbe665..342403775 100644
--- a/Library/Homebrew/requirement.rb
+++ b/Library/Homebrew/requirement.rb
@@ -102,7 +102,9 @@ class Requirement
end
class << self
- attr_rw :fatal, :build, :default_formula
+ attr_rw :fatal, :default_formula
+ # build is deprecated, use `depends_on <requirement> => :build` instead
+ attr_rw :build
def satisfy(options={}, &block)
@satisfied ||= Requirement::Satisfier.new(options, &block)