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
768ca51a
Commit
768ca51a
authored
Sep 26, 2015
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Installer] Print a post-install message
parent
1b55d757
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
installer.rb
lib/cocoapods/installer.rb
+10
-0
No files found.
lib/cocoapods/installer.rb
View file @
768ca51a
...
@@ -462,6 +462,16 @@ module Pod
...
@@ -462,6 +462,16 @@ module Pod
run_plugins_post_install_hooks
run_plugins_post_install_hooks
warn_for_deprecations
warn_for_deprecations
lock_pod_sources
lock_pod_sources
print_post_install_message
end
def
print_post_install_message
podfile_dependencies
=
podfile
.
dependencies
.
uniq
.
size
pods_installed
=
root_specs
.
size
UI
.
info
(
'Pod installation complete! '
\
"There
#{
podfile_dependencies
==
1
?
'is'
:
'are'
}
#{
podfile_dependencies
}
"
\
"
#{
'dependency'
.
pluralize
(
podfile_dependencies
)
}
from the Podfile "
\
"and
#{
pods_installed
}
total
#{
'pod'
.
pluralize
(
pods_installed
)
}
installed."
)
end
end
# Runs the registered callbacks for the plugins post install hooks.
# Runs the registered callbacks for the plugins post install hooks.
...
...
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