Permalink
Browse files

[WIP] Installer clean up.

  • Loading branch information...
1 parent 8099763 commit dec60494d5a74822dd161bb7c1c8d92b6fc05244 @fabiopelosin fabiopelosin committed Sep 25, 2012
Showing with 599 additions and 350 deletions.
  1. +2 −3 lib/cocoapods/command/install.rb
  2. +455 −173 lib/cocoapods/installer.rb
  3. +5 −4 lib/cocoapods/lockfile.rb
  4. +108 −144 lib/cocoapods/resolver.rb
  5. +29 −26 spec/unit/installer_spec.rb
@@ -41,9 +41,8 @@ def initialize(argv)
def run_install_with_update(update)
sandbox = Sandbox.new(config.project_pods_root)
- resolver = Resolver.new(config.podfile, config.lockfile, sandbox)
- resolver.update_mode = update
- Installer.new(resolver).install!
+ installer = Installer.new(sandbox, config.podfile, config.lockfile)
+ installer.install!
end
def run
Oops, something went wrong.

0 comments on commit dec6049

Please sign in to comment.