Commit 4bb14e58 authored by Fabio Pelosin's avatar Fabio Pelosin

[WIP][Installer] Adapt for LocalPod refactor

parent d2b90c07
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
- Subspecs now do not inherit the files patterns from the parent spec. - Subspecs now do not inherit the files patterns from the parent spec.
- The workspace is written only if needed greatly reducing the occasions in - The workspace is written only if needed greatly reducing the occasions in
which Xcode asks to revert. which Xcode asks to revert.
- Specification hooks are only called when the specification is installed.
###### Specification DSL ###### Specification DSL
......
This diff is collapsed.
require File.expand_path('../../spec_helper', __FILE__) require File.expand_path('../../spec_helper', __FILE__)
# TODO add tests for multiple targets!
# @return [Lockfile] # @return [Lockfile]
# #
def generate_lockfile def generate_lockfile
...@@ -26,7 +28,7 @@ module Pod ...@@ -26,7 +28,7 @@ module Pod
# before do # before do
# @sandbox = temporary_sandbox # @sandbox = temporary_sandbox
# config.repos_dir = fixture('spec-repos') # config.repos_dir = fixture('spec-repos')
# config.project_pods_root = @sandbox.root # config.sandbox_root = @sandbox.root
# FileUtils.cp_r(fixture('integration/JSONKit'), @sandbox.root + 'JSONKit') # FileUtils.cp_r(fixture('integration/JSONKit'), @sandbox.root + 'JSONKit')
# end # end
# #
...@@ -38,7 +40,7 @@ module Pod ...@@ -38,7 +40,7 @@ module Pod
describe "Concerning pre-installation computations" do describe "Concerning pre-installation computations" do
# @sandbox = temporary_sandbox # @sandbox = temporary_sandbox
# config.project_pods_root = temporary_sandbox.root # config.sandbox_root = temporary_sandbox.root
# FileUtils.cp_r(fixture('integration/JSONKit'), @sandbox.root + 'JSONKit') # FileUtils.cp_r(fixture('integration/JSONKit'), @sandbox.root + 'JSONKit')
# resolver = Resolver.new(podfile, nil, @sandbox) # resolver = Resolver.new(podfile, nil, @sandbox)
...@@ -80,7 +82,7 @@ module Pod ...@@ -80,7 +82,7 @@ module Pod
# end # end
# @sandbox = temporary_sandbox # @sandbox = temporary_sandbox
# config.project_pods_root = temporary_sandbox.root # config.sandbox_root = temporary_sandbox.root
# FileUtils.cp_r(fixture('integration/JSONKit'), @sandbox.root + 'JSONKit') # FileUtils.cp_r(fixture('integration/JSONKit'), @sandbox.root + 'JSONKit')
# @installer = Installer.new(@sandbox, podfile) # @installer = Installer.new(@sandbox, podfile)
# target_installer = @installer.target_installers.first # target_installer = @installer.target_installers.first
...@@ -118,7 +120,7 @@ module Pod ...@@ -118,7 +120,7 @@ module Pod
# before do # before do
# sandbox = temporary_sandbox # sandbox = temporary_sandbox
# Config.instance.project_pods_root = sandbox.root # Config.instance.sandbox_root = sandbox.root
# Config.instance.integrate_targets = false # Config.instance.integrate_targets = false
# podspec_path = fixture('integration/Reachability/Reachability.podspec') # podspec_path = fixture('integration/Reachability/Reachability.podspec')
# podfile = Podfile.new do # podfile = Podfile.new do
...@@ -166,7 +168,7 @@ module Pod ...@@ -166,7 +168,7 @@ module Pod
# before do # before do
# sandbox = temporary_sandbox # sandbox = temporary_sandbox
# Config.instance.project_pods_root = sandbox.root # Config.instance.sandbox_root = sandbox.root
# Config.instance.integrate_targets = false # Config.instance.integrate_targets = false
# podspec_path = fixture('chameleon') # podspec_path = fixture('chameleon')
# podfile = Podfile.new do # podfile = Podfile.new do
......
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