Skip to content
Browse files

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

  • Loading branch information...
1 parent a942ac1 commit 10b7d02b9ea8407f1c627d4026af3d3705522ce4 @fabiopelosin fabiopelosin committed May 4, 2012
Showing with 4 additions and 0 deletions.
  1. +1 −0 lib/cocoapods/command/push.rb
  2. +1 −0 lib/cocoapods/config.rb
  3. +2 −0 lib/cocoapods/installer.rb
View
1 lib/cocoapods/command/push.rb
@@ -32,6 +32,7 @@ def run
update_repo
add_specs_to_repo
push_repo
+ puts
end
private
View
1 lib/cocoapods/config.rb
@@ -51,6 +51,7 @@ def podfile
Podfile.from_file(project_podfile) if project_podfile.exist?
end
end
+ attr_writer :podfile
def ios?
# TODO: deprecate in 0.7
View
2 lib/cocoapods/installer.rb
@@ -14,6 +14,8 @@ def initialize(podfile)
# 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

0 comments on commit 10b7d02

Please sign in to comment.
Something went wrong with that request. Please try again.