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
18d1c84d
Commit
18d1c84d
authored
Oct 24, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Resolver] Only indicate progress when in verbose mode
parent
51dc5970
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
+24
-3
Gemfile.lock
Gemfile.lock
+1
-1
resolver.rb
lib/cocoapods/resolver.rb
+23
-2
No files found.
Gemfile.lock
View file @
18d1c84d
...
...
@@ -7,7 +7,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Core.git
revision: 8
6c02faa738990d2ab10bbe07339de681637f8b4
revision: 8
02401562948abf9f4f417ace4cd8e9bb8b08859
branch: resolver
specs:
cocoapods-core (0.34.4)
...
...
lib/cocoapods/resolver.rb
View file @
18d1c84d
...
...
@@ -218,6 +218,8 @@ module Pod
include
Molinillo
::
UI
include
Config
::
Mixin
# The UI object the resolver should use for displaying user-facing output.
#
# @return [UserInterface] the normal CocoaPods UI object.
...
...
@@ -227,12 +229,31 @@ module Pod
end
# Called before resolution starts. We print out `Resolving dependencies` in
# the analyzer, so here we just want to print out a starting `.`.
# the analyzer, so here we just want to print out a starting `.` in verbose
# mode.
#
# @return [Void]
#
def
before_resolution
UI
.
print
'.'
UI
.
print
'.'
if
config
.
verbose
end
# Called after resolution ends. We don't want to {#indicate_progress}
# unless in verbose mode, so we only use the default implementation then.
#
# @return [Void]
#
def
after_resolution
super
if
config
.
verbose
end
# Called during resolution to indicate progress.
# We only use the default implementation in verbose mode.
#
# @return [Void]
#
def
indicate_progress
super
if
config
.
verbose
end
#-------------------------------------------------------------------------#
...
...
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