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
6564e717
Commit
6564e717
authored
Dec 18, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed config mixin from some classes.
parent
6ef156eb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
10 deletions
+11
-10
executable.rb
lib/cocoapods/executable.rb
+0
-1
documentation.rb
lib/cocoapods/generator/documentation.rb
+7
-4
analyzer.rb
lib/cocoapods/installer/analyzer.rb
+1
-1
resolver.rb
lib/cocoapods/resolver.rb
+1
-3
user_interface.rb
lib/cocoapods/user_interface.rb
+2
-1
No files found.
lib/cocoapods/executable.rb
View file @
6564e717
...
...
@@ -84,7 +84,6 @@ module Pod
# the UI indentation lever.
#
class
Indenter
<
::
Array
include
Config
::
Mixin
# @return [Fixnum] The indentation level of the UI.
#
...
...
lib/cocoapods/generator/documentation.rb
View file @
6564e717
...
...
@@ -5,7 +5,6 @@ module Pod
module
Generator
class
Documentation
include
Config
::
Mixin
extend
Executable
executable
:appledoc
...
...
@@ -86,6 +85,12 @@ module Pod
# projects.
#
def
generate
(
install
=
false
)
if
`which appledoc`
.
strip
.
empty?
UI
.
warn
"[!] Skipping documentation generation because appledoc can't be found."
,
actions
=
[],
verbose_only
=
true
return
end
options
=
appledoc_options
options
+=
[
'--output'
,
@target_path
.
to_s
]
options
+=
install
?
[
'--create-docset'
]
:
[
'--no-create-docset'
]
...
...
@@ -97,11 +102,9 @@ module Pod
end
if
$?
.
exitstatus
!=
0
puts
"[!] Appledoc encountered an error (exitstatus:
#{
$?
.
exitstatus
}
), an update might be available to solve the issue."
unless
config
.
silent?
UI
.
warn
"[!] Appledoc encountered an error (exitstatus:
#{
$?
.
exitstatus
}
), an update might be available to solve the issue."
end
rescue
Informative
puts
"[!] Skipping documentation generation because appledoc can't be found."
if
config
.
verbose?
end
end
end
...
...
lib/cocoapods/installer/analyzer.rb
View file @
6564e717
...
...
@@ -189,7 +189,7 @@ module Pod
libraries
=
[]
podfile
.
target_definitions
.
values
.
each
do
|
target_definition
|
lib
=
Library
.
new
(
target_definition
)
lib
.
support_files_root
=
config
.
sandbox
.
library_support_files_dir
(
lib
.
name
)
lib
.
support_files_root
=
sandbox
.
library_support_files_dir
(
lib
.
name
)
if
config
.
integrate_targets?
lib
.
user_project_path
=
compute_user_project_path
(
target_definition
)
...
...
lib/cocoapods/resolver.rb
View file @
6564e717
...
...
@@ -16,8 +16,6 @@ module Pod
#
class
Resolver
include
Config
::
Mixin
# @return [Sandbox] the Sandbox used by the resolver to find external
# dependencies.
#
...
...
@@ -76,7 +74,7 @@ module Pod
# definition.
#
def
resolve
@cached_sources
=
Source
::
Aggregate
.
new
(
config
.
repos_dir
)
@cached_sources
=
Source
sManager
.
aggregate
@cached_sets
=
{}
@cached_specs
=
{}
@specs_by_target
=
{}
...
...
lib/cocoapods/user_interface.rb
View file @
6564e717
...
...
@@ -120,7 +120,8 @@ module Pod
#
# return [void]
#
def
warn
(
message
,
actions
=
[])
def
warn
(
message
,
actions
=
[],
verbose_only
=
false
)
return
if
config
.
silent?
&&
verbose_only
STDERR
.
puts
(
"
\n
[!]
#{
message
}
"
.
yellow
)
actions
.
each
do
|
action
|
indented
=
wrap_string
(
action
,
" - "
)
...
...
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