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 ...@@ -32,6 +32,7 @@ module Pod
update_repo update_repo
add_specs_to_repo add_specs_to_repo
push_repo push_repo
puts
end end
private private
......
...@@ -51,6 +51,7 @@ module Pod ...@@ -51,6 +51,7 @@ module Pod
Podfile.from_file(project_podfile) if project_podfile.exist? Podfile.from_file(project_podfile) if project_podfile.exist?
end end
end end
attr_writer :podfile
def ios? def ios?
# TODO: deprecate in 0.7 # TODO: deprecate in 0.7
......
...@@ -14,6 +14,8 @@ module Pod ...@@ -14,6 +14,8 @@ module Pod
# FIXME: pass this into the installer as a parameter # FIXME: pass this into the installer as a parameter
@sandbox = Sandbox.new(config.project_pods_root) @sandbox = Sandbox.new(config.project_pods_root)
@resolver = Resolver.new(@podfile, @sandbox) @resolver = Resolver.new(@podfile, @sandbox)
# TODO: remove in 0.7 (legacy support for config.ios? and config.osx?)
config.podfile = podfile
end end
def lock_file 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