Commit 26f42610 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[IntegrationSpecs] Update for vendored dynamic framework support

parent 36e70015
Subproject commit c3a5c5887ee81a34d548accc3e84aea3d071a5b2 Subproject commit 3cdede7125bf8d46475a3940017fc16d5bf45bb2
...@@ -47,6 +47,7 @@ require 'bundler/setup' ...@@ -47,6 +47,7 @@ require 'bundler/setup'
require 'pretty_bacon' require 'pretty_bacon'
require 'colored' require 'colored'
require 'clintegracon' require 'clintegracon'
require 'fileutils'
require 'integration/xcodeproj_project_yaml' require 'integration/xcodeproj_project_yaml'
require 'tmpdir' require 'tmpdir'
...@@ -69,6 +70,12 @@ CLIntegracon.configure do |c| ...@@ -69,6 +70,12 @@ CLIntegracon.configure do |c|
end end
end end
c.transform_produced '**/*.framework' do |path|
tree = `tree '#{path}'`
FileUtils.rm_rf path
File.open(path, 'w') { |f| f << tree }
end
# Register special handling for YAML files # Register special handling for YAML files
paths = [/Podfile\.lock/, /Manifest\.lock$/, /xcodeproj\.yaml$/] paths = [/Podfile\.lock/, /Manifest\.lock$/, /xcodeproj\.yaml$/]
c.has_special_handling_for(*paths) do |path| c.has_special_handling_for(*paths) do |path|
...@@ -226,6 +233,13 @@ describe_cli 'pod' do ...@@ -226,6 +233,13 @@ describe_cli 'pod' do
'install --no-repo-update' 'install --no-repo-update'
end end
describe 'Integrates a Pod using a dynamic vendored framework' do
# We have to disable verbose mode by adding --no-verbose here,
# otherwise curl output is included in execution output.
behaves_like cli_spec 'install_vendored_dynamic_framework',
'install --no-repo-update --no-verbose'
end
# @todo add tests for all the hooks API # @todo add tests for all the hooks API
# #
describe 'Runs the Podfile callbacks' do describe 'Runs the Podfile callbacks' 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