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
f389191f
Commit
f389191f
authored
Feb 11, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Installer] Don't show using existing documentation message if docs should be skipped
parent
cb975bb5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
installer.rb
lib/cocoapods/installer.rb
+5
-4
execution_output.txt
spec/integration/install_add_pod/after/execution_output.txt
+0
-1
execution_output.txt
spec/integration/install_new/after/execution_output.txt
+0
-1
No files found.
lib/cocoapods/installer.rb
View file @
f389191f
...
@@ -75,12 +75,13 @@ module Pod
...
@@ -75,12 +75,13 @@ module Pod
#TODO: move to generator ?
#TODO: move to generator ?
def
generate_docs
(
pod
)
def
generate_docs
(
pod
)
doc_generator
=
Generator
::
Documentation
.
new
(
pod
)
return
unless
config
.
generate_docs?
if
(
config
.
generate_docs?
&&
!
doc_generator
.
already_installed?
)
doc_generator
=
Generator
::
Documentation
.
new
(
pod
)
if
doc_generator
.
already_installed?
UI
.
section
" > Using existing documentation"
else
UI
.
section
" > Installing documentation"
UI
.
section
" > Installing documentation"
doc_generator
.
generate
(
config
.
doc_install?
)
doc_generator
.
generate
(
config
.
doc_install?
)
else
UI
.
section
" > Using existing documentation"
end
end
end
end
...
...
spec/integration/install_add_pod/after/execution_output.txt
View file @
f389191f
...
@@ -23,7 +23,6 @@ Downloading dependencies
...
@@ -23,7 +23,6 @@ Downloading dependencies
Cloning into 'ROOT/tmp/Pods/JSONKit'...
Cloning into 'ROOT/tmp/Pods/JSONKit'...
done.
done.
$ /usr/bin/git checkout -b activated-pod-commit 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce
$ /usr/bin/git checkout -b activated-pod-commit 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce
> Using existing documentation
-> Using Reachability (3.1.0)
-> Using Reachability (3.1.0)
...
...
spec/integration/install_new/after/execution_output.txt
View file @
f389191f
...
@@ -19,7 +19,6 @@ Downloading dependencies
...
@@ -19,7 +19,6 @@ Downloading dependencies
$ /usr/bin/git reset --hard FETCH_HEAD
$ /usr/bin/git reset --hard FETCH_HEAD
HEAD is now at f7176f4 updated podspec
HEAD is now at f7176f4 updated podspec
$ /usr/bin/git checkout -b activated-pod-commit
$ /usr/bin/git checkout -b activated-pod-commit
> Using existing documentation
Generating support files
Generating support files
- Running pre install hooks
- Running pre 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