build: make deps an attribute of Build
This commit is contained in:
parent
67694b8c60
commit
f264d5a93c
@ -55,10 +55,11 @@ rescue Exception => e
|
|||||||
end
|
end
|
||||||
|
|
||||||
class Build
|
class Build
|
||||||
attr_reader :f
|
attr_reader :f, :deps
|
||||||
|
|
||||||
def initialize(f)
|
def initialize(f)
|
||||||
@f = f
|
@f = f
|
||||||
|
@deps = expand_deps
|
||||||
end
|
end
|
||||||
|
|
||||||
def post_superenv_hacks
|
def post_superenv_hacks
|
||||||
@ -87,7 +88,6 @@ class Build
|
|||||||
end
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
deps = expand_deps
|
|
||||||
keg_only_deps = deps.select(&:keg_only?)
|
keg_only_deps = deps.select(&:keg_only?)
|
||||||
|
|
||||||
pre_superenv_hacks
|
pre_superenv_hacks
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user