Commit 10b7d02b authored by Fabio Pelosin's avatar Fabio Pelosin

[config.ios?] Temporary support for pod spec lint.

parent a942ac10
......@@ -32,6 +32,7 @@ module Pod
update_repo
add_specs_to_repo
push_repo
puts
end
private
......
......@@ -51,6 +51,7 @@ module Pod
Podfile.from_file(project_podfile) if project_podfile.exist?
end
end
attr_writer :podfile
def ios?
# TODO: deprecate in 0.7
......
......@@ -14,6 +14,8 @@ module Pod
# FIXME: pass this into the installer as a parameter
@sandbox = Sandbox.new(config.project_pods_root)
@resolver = Resolver.new(@podfile, @sandbox)
# TODO: remove in 0.7 (legacy support for config.ios? and config.osx?)
config.podfile = podfile
end
def lock_file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment