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
4f217528
Commit
4f217528
authored
Mar 28, 2012
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence a stray puts when not in verbose mode.
parent
2ca31f8f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
resolver.rb
lib/cocoapods/resolver.rb
+5
-3
No files found.
lib/cocoapods/resolver.rb
View file @
4f217528
module
Pod
class
Resolver
include
Config
::
Mixin
attr_reader
:podfile
,
:sandbox
attr_accessor
:cached_sets
,
:cached_sources
...
...
@@ -15,13 +17,13 @@ module Pod
@specs
=
{}
result
=
@podfile
.
target_definitions
.
values
.
inject
({})
do
|
result
,
target_definition
|
puts
"
\n
--> Finding dependencies for
#{
target_definition
.
name
}
"
if
Config
.
instance
.
verbose?
puts
"
\n
--> Finding dependencies for
target `
#{
target_definition
.
name
}
'"
if
config
.
verbose?
@loaded_specs
=
[]
find_dependency_sets
(
@podfile
,
target_definition
.
dependencies
)
result
[
target_definition
]
=
@specs
.
values_at
(
*
@loaded_specs
).
sort_by
(
&
:name
)
result
end
puts
puts
if
config
.
verbose?
# Specification doesn't need to know more about the context, so we assign
# the other specification, of which this pod is a part, to the spec.
...
...
@@ -52,7 +54,7 @@ module Pod
def
find_dependency_sets
(
dependent_specification
,
dependencies
)
@log_indent
+=
1
dependencies
.
each
do
|
dependency
|
puts
' '
*
@log_indent
+
"-
#{
dependency
}
"
if
Config
.
instance
.
verbose?
puts
' '
*
@log_indent
+
"-
#{
dependency
}
"
if
config
.
verbose?
set
=
find_cached_set
(
dependency
)
set
.
required_by
(
dependent_specification
)
# Ensure we don't resolve the same spec twice
...
...
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