aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-05-25 15:26:55 -0500
committerJack Nagel2013-05-25 15:26:55 -0500
commitf264d5a93c32420c1c7d4298e7dfc6c593381ab3 (patch)
tree460ae34f4dfd0034fb2801d4cc17420ac81d3d13 /Library
parent67694b8c6064e4424a05e79a7e7907c5f9f744fb (diff)
downloadbrew-f264d5a93c32420c1c7d4298e7dfc6c593381ab3.tar.bz2
build: make deps an attribute of Build
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/build.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index 31e6d6f3d..971f59ec4 100755
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -55,10 +55,11 @@ rescue Exception => e
end
class Build
- attr_reader :f
+ attr_reader :f, :deps
def initialize(f)
@f = f
+ @deps = expand_deps
end
def post_superenv_hacks
@@ -87,7 +88,6 @@ class Build
end
def install
- deps = expand_deps
keg_only_deps = deps.select(&:keg_only?)
pre_superenv_hacks