diff options
| author | Jack Nagel | 2014-05-30 18:11:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-30 18:16:56 -0500 |
| commit | e0d8325528bb78524f27846bf6d85827227264f6 (patch) | |
| tree | 7dc6862653230d26b2df7bd852ded088d56c3c57 /Library | |
| parent | 080a13aaf352fa31cad8029c4d2dbfd0699e8def (diff) | |
| download | homebrew-e0d8325528bb78524f27846bf6d85827227264f6.tar.bz2 | |
Deprecate implicit build-time requirements
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/requirement.rb | 4 |
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) |
