Merge pull request #1588 from rwhogg/make-deps-public
dependency_collector: Make ant_dep and xz_dep public
This commit is contained in:
commit
0b762dc3f1
@ -61,6 +61,14 @@ class DependencyCollector
|
|||||||
parse_spec(spec, Array(tags))
|
parse_spec(spec, Array(tags))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def ant_dep(tags)
|
||||||
|
Dependency.new("ant", tags)
|
||||||
|
end
|
||||||
|
|
||||||
|
def xz_dep(tags)
|
||||||
|
Dependency.new("xz", tags)
|
||||||
|
end
|
||||||
|
|
||||||
def self.tar_needs_xz_dependency?
|
def self.tar_needs_xz_dependency?
|
||||||
!new.xz_dep([]).nil?
|
!new.xz_dep([]).nil?
|
||||||
end
|
end
|
||||||
@ -138,14 +146,6 @@ class DependencyCollector
|
|||||||
spec.new(tags)
|
spec.new(tags)
|
||||||
end
|
end
|
||||||
|
|
||||||
def ant_dep(tags)
|
|
||||||
Dependency.new("ant", tags)
|
|
||||||
end
|
|
||||||
|
|
||||||
def xz_dep(tags)
|
|
||||||
Dependency.new("xz", tags)
|
|
||||||
end
|
|
||||||
|
|
||||||
def resource_dep(spec, tags)
|
def resource_dep(spec, tags)
|
||||||
tags << :build
|
tags << :build
|
||||||
strategy = spec.download_strategy
|
strategy = spec.download_strategy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user