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
c7187f77
Commit
c7187f77
authored
Mar 28, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[colors] fix for broken build
parent
ef58505e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
installer.rb
lib/cocoapods/installer.rb
+7
-5
No files found.
lib/cocoapods/installer.rb
View file @
c7187f77
...
@@ -5,7 +5,7 @@ module Pod
...
@@ -5,7 +5,7 @@ module Pod
include
Config
::
Mixin
include
Config
::
Mixin
attr_reader
:sandbox
attr_reader
:sandbox
def
initialize
(
podfile
,
user_project_path
=
nil
)
def
initialize
(
podfile
,
user_project_path
=
nil
)
@podfile
,
@user_project_path
=
podfile
,
user_project_path
@podfile
,
@user_project_path
=
podfile
,
user_project_path
...
@@ -72,7 +72,7 @@ module Pod
...
@@ -72,7 +72,7 @@ module Pod
@sandbox
.
prepare_for_install
@sandbox
.
prepare_for_install
puts_title
"Resolving dependencies of:
#{
@podfile
.
defined_in_file
}
"
puts_title
"Resolving dependencies of:
#{
@podfile
.
defined_in_file
}
"
s
elf
.
dependency_specifications_for_each_target_definition
=
@resolver
.
resolve
s
pecs_by_target
puts_title
"Installing dependencies"
puts_title
"Installing dependencies"
pods
=
install_dependencies!
pods
=
install_dependencies!
...
@@ -138,10 +138,12 @@ module Pod
...
@@ -138,10 +138,12 @@ module Pod
end
end
end
end
attr_accessor
:dependency_specifications_for_each_target_definition
def
specs_by_target
@specs_by_target
||=
@resolver
.
resolve
end
def
dependency_specifications
def
dependency_specifications
dependency_specifications_for_each_target_definition
.
values
.
flatten
specs_by_target
.
values
.
flatten
end
end
def
activated_specifications
def
activated_specifications
...
@@ -153,7 +155,7 @@ module Pod
...
@@ -153,7 +155,7 @@ module Pod
end
end
def
activated_specifications_for_target
(
target_definition
)
def
activated_specifications_for_target
(
target_definition
)
dependency_specifications_for_each_target_definition
[
target_definition
]
specs_by_target
[
target_definition
]
end
end
def
download_only_specifications
def
download_only_specifications
...
...
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