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
e3aa45df
Commit
e3aa45df
authored
Dec 29, 2015
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Docs] Document new methods for the new Podfile DSL
parent
60cb693f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
downloader.rb
lib/cocoapods/downloader.rb
+4
-2
abstract_external_source.rb
lib/cocoapods/external_sources/abstract_external_source.rb
+2
-0
aggregate_xcconfig.rb
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
+3
-0
aggregate_target.rb
lib/cocoapods/target/aggregate_target.rb
+3
-0
No files found.
lib/cocoapods/downloader.rb
View file @
e3aa45df
...
...
@@ -20,9 +20,11 @@ module Pod
# the location to which this pod should be downloaded. If `nil`,
# then the pod will only be cached.
#
# @param [Boolean] can_cache
# whether caching is allowed.
#
# @param [Pathname,Nil] cache_path
# the path used to cache pod downloads. If `nil`, then no caching
# will be done.
# the path used to cache pod downloads.
#
def
self
.
download
(
request
,
...
...
lib/cocoapods/external_sources/abstract_external_source.rb
View file @
e3aa45df
...
...
@@ -17,6 +17,8 @@ module Pod
#
attr_reader
:podfile_path
# @return [Boolean] Whether the source is allowed to touch the cache.
#
attr_accessor
:can_cache
alias_method
:can_cache?
,
:can_cache
...
...
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
View file @
e3aa45df
...
...
@@ -89,6 +89,9 @@ module Pod
protected
# @return [Hash<String, String>] the build settings necessary to import
# the pod targets.
#
def
settings_to_import_pod_targets
if
target
.
requires_frameworks?
framework_header_search_paths
=
pod_targets
.
select
(
&
:should_build?
).
map
do
|
target
|
...
...
lib/cocoapods/target/aggregate_target.rb
View file @
e3aa45df
...
...
@@ -104,6 +104,9 @@ module Pod
#
attr_accessor
:pod_targets
# @return [Array<AggregateTarget>] The aggregate targets whose pods this
# target must be able to import, but will not directly link against.
#
attr_accessor
:search_paths_aggregate_targets
# @param [String] build_configuration The build configuration for which the
...
...
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