Skip to content
Snippets Groups Projects
Commit 227e6904 authored by Bob W. Hogg's avatar Bob W. Hogg
Browse files

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 :(
parent 84b3c570
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment