follow the pattern more closely
This commit is contained in:
parent
01b93117cd
commit
769cab7e4f
@ -1,3 +1,5 @@
|
|||||||
|
require "dependency_collector"
|
||||||
|
|
||||||
if OS.mac?
|
if OS.mac?
|
||||||
require "extend/os/mac/dependency_collector"
|
require "extend/os/mac/dependency_collector"
|
||||||
elsif OS.linux?
|
elsif OS.linux?
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
def ant_dep(spec, tags)
|
class DependencyCollector
|
||||||
|
def ant_dep(spec, tags)
|
||||||
Dependency.new(spec.to_s, tags)
|
Dependency.new(spec.to_s, tags)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
def ant_dep(spec, tags)
|
class DependencyCollector
|
||||||
|
def ant_dep(spec, tags)
|
||||||
if MacOS.version >= :mavericks
|
if MacOS.version >= :mavericks
|
||||||
Dependency.new(spec.to_s, tags)
|
Dependency.new(spec.to_s, tags)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user