Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
cc958fde
Commit
cc958fde
authored
Oct 24, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UserProjectIntegrator] Clean up.
parent
2421ef03
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
19 deletions
+6
-19
user_project_integrator.rb
lib/cocoapods/installer/user_project_integrator.rb
+0
-0
user_project_integrator_spec.rb
spec/functional/user_project_integrator_spec.rb
+6
-19
No files found.
lib/cocoapods/installer/user_project_integrator.rb
View file @
cc958fde
This diff is collapsed.
Click to expand it.
spec/functional/user_project_integrator_spec.rb
View file @
cc958fde
...
@@ -3,24 +3,13 @@ require File.expand_path('../../spec_helper', __FILE__)
...
@@ -3,24 +3,13 @@ require File.expand_path('../../spec_helper', __FILE__)
describe
Pod
::
Installer
::
UserProjectIntegrator
do
describe
Pod
::
Installer
::
UserProjectIntegrator
do
extend
SpecHelper
::
TemporaryDirectory
extend
SpecHelper
::
TemporaryDirectory
def
integrate!
@integrator
=
Pod
::
Installer
::
UserProjectIntegrator
.
new
(
@podfile
)
@integrator
.
integrate!
@sample_project
=
Xcodeproj
::
Project
.
new
(
@sample_project_path
)
end
before
do
before
do
config
.
silent
=
true
sample_project_path
=
SpecHelper
.
create_sample_app_copy_from_fixture
(
'SampleProject'
)
@sample_project_path
=
SpecHelper
.
create_sample_app_copy_from_fixture
(
'SampleProject'
)
config
.
project_root
=
sample_project_path
.
dirname
config
.
project_root
=
@sample_project_path
.
dirname
sample_project_path
=
@sample_project_path
@podfile
=
Pod
::
Podfile
.
new
do
@podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
platform
:ios
xcodeproj
sample_project_path
,
'Test'
=>
:debug
xcodeproj
sample_project_path
,
'Test'
=>
:debug
link_with
'SampleProject'
# this is an app target!
link_with
'SampleProject'
# this is an app target!
pod
'JSONKit'
pod
'JSONKit'
target
:test_runner
,
:exclusive
=>
true
do
target
:test_runner
,
:exclusive
=>
true
do
...
@@ -28,12 +17,10 @@ describe Pod::Installer::UserProjectIntegrator do
...
@@ -28,12 +17,10 @@ describe Pod::Installer::UserProjectIntegrator do
pod
'Kiwi'
pod
'Kiwi'
end
end
end
end
@sample_project_path
=
sample_project_path
@sample_project
=
Xcodeproj
::
Project
.
new
(
@sample_project_path
)
@integrator
=
Pod
::
Installer
::
UserProjectIntegrator
.
new
(
@podfile
)
end
@integrator
.
integrate!
@sample_project
=
Xcodeproj
::
Project
.
new
(
sample_project_path
)
before
do
integrate!
end
end
it
'adds references to the Pods static libraries to the Frameworks group'
do
it
'adds references to the Pods static libraries to the Frameworks group'
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment