dependency_collector: Make ant_dep and xz_dep public
They were already public on macOS, but they were made private by mistake on all other platforms. DependencyCollector.tar_needs_xz_dependency? depends on xz_dep being public, so there's no turning back now :(
This commit is contained in:
parent
84b3c57086
commit
227e69048a
@ -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