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))
|
||||
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?
|
||||
!new.xz_dep([]).nil?
|
||||
end
|
||||
@ -138,14 +146,6 @@ class DependencyCollector
|
||||
spec.new(tags)
|
||||
end
|
||||
|
||||
def ant_dep(tags)
|
||||
Dependency.new("ant", tags)
|
||||
end
|
||||
|
||||
def xz_dep(tags)
|
||||
Dependency.new("xz", tags)
|
||||
end
|
||||
|
||||
def resource_dep(spec, tags)
|
||||
tags << :build
|
||||
strategy = spec.download_strategy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user