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
a6323df7
Commit
a6323df7
authored
Aug 23, 2012
by
Eloy Durán
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle pods in (case-insensitive) alphabetical order.
The output of this looks better.
parent
cb2d9967
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
installer.rb
lib/cocoapods/installer.rb
+3
-3
No files found.
lib/cocoapods/installer.rb
View file @
a6323df7
...
...
@@ -47,9 +47,9 @@ module Pod
# @return [void]
#
def
install_dependencies!
pods
.
each
do
|
pod
|
pods
.
sort_by
{
|
pod
|
pod
.
top_specification
.
name
.
downcase
}.
each
do
|
pod
|
name
=
pod
.
top_specification
.
name
should_install
=
@resolver
.
should_install?
(
name
)
||
!
pod
.
exists?
should_install
=
@resolver
.
should_install?
(
name
)
||
!
pod
.
exists?
unless
config
.
silent?
marker
=
config
.
verbose
?
"
\n
-> "
.
green
:
''
...
...
@@ -58,7 +58,7 @@ module Pod
else
name
=
pod
.
to_s
end
puts
marker
<<
(
should_install
?
"Installing
#{
name
}
"
.
green
:
"Using
#{
name
}
"
)
puts
marker
<<
(
should_install
?
"Installing
#{
name
}
"
.
green
:
"Using
#{
name
}
"
)
end
if
should_install
...
...
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