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
1b09daca
Commit
1b09daca
authored
May 21, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Xcconfig] Rename classes to reflect the Target
parent
6a9aabb5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
cocoapods.rb
lib/cocoapods.rb
+3
-3
xcconfig.rb
lib/cocoapods/generator/xcconfig.rb
+4
-4
aggregate_target_installer.rb
.../installer/target_installer/aggregate_target_installer.rb
+1
-1
pod_target_installer.rb
...oapods/installer/target_installer/pod_target_installer.rb
+2
-2
No files found.
lib/cocoapods.rb
View file @
1b09daca
...
@@ -62,9 +62,9 @@ module Pod
...
@@ -62,9 +62,9 @@ module Pod
autoload
:DummySource
,
'cocoapods/generator/dummy_source'
autoload
:DummySource
,
'cocoapods/generator/dummy_source'
autoload
:PrefixHeader
,
'cocoapods/generator/prefix_header'
autoload
:PrefixHeader
,
'cocoapods/generator/prefix_header'
autoload
:TargetEnvironmentHeader
,
'cocoapods/generator/target_environment_header'
autoload
:TargetEnvironmentHeader
,
'cocoapods/generator/target_environment_header'
autoload
:
PodXCConfig
,
'cocoapods/generator/xcconfig'
autoload
:
AggregateXCConfig
,
'cocoapods/generator/xcconfig'
autoload
:Public
SpecXCConfig
,
'cocoapods/generator/xcconfig'
autoload
:Public
PodXCConfig
,
'cocoapods/generator/xcconfig'
autoload
:Private
SpecXCConfig
,
'cocoapods/generator/xcconfig'
autoload
:Private
PodXCConfig
,
'cocoapods/generator/xcconfig'
end
end
module
Hooks
module
Hooks
...
...
lib/cocoapods/generator/xcconfig.rb
View file @
1b09daca
...
@@ -5,7 +5,7 @@ module Pod
...
@@ -5,7 +5,7 @@ module Pod
# for each Pod and for each Pod target definition. The aggregates the
# for each Pod and for each Pod target definition. The aggregates the
# configurations of the Pods and define target specific settings.
# configurations of the Pods and define target specific settings.
#
#
class
Abstract
XCConfig
class
XCConfig
# @return [Target] the aggregate_target or target represented by this xcconfig.
# @return [Target] the aggregate_target or target represented by this xcconfig.
#
#
...
@@ -114,7 +114,7 @@ module Pod
...
@@ -114,7 +114,7 @@ module Pod
#-------------------------------------------------------------------------#
#-------------------------------------------------------------------------#
class
PodXCConfig
<
Abstract
XCConfig
class
AggregateXCConfig
<
XCConfig
# Generates the xcconfig for the Pod integration target.
# Generates the xcconfig for the Pod integration target.
#
#
...
@@ -155,7 +155,7 @@ module Pod
...
@@ -155,7 +155,7 @@ module Pod
#-------------------------------------------------------------------------#
#-------------------------------------------------------------------------#
class
Public
SpecXCConfig
<
Abstract
XCConfig
class
Public
PodXCConfig
<
XCConfig
# Generates and saves the xcconfig to the given path.
# Generates and saves the xcconfig to the given path.
#
#
...
@@ -189,7 +189,7 @@ module Pod
...
@@ -189,7 +189,7 @@ module Pod
#-------------------------------------------------------------------------#
#-------------------------------------------------------------------------#
class
Private
SpecXCConfig
<
Abstract
XCConfig
class
Private
PodXCConfig
<
XCConfig
# Generates the xcconfig for the aggregate_target.
# Generates the xcconfig for the aggregate_target.
#
#
...
...
lib/cocoapods/installer/target_installer/aggregate_target_installer.rb
View file @
1b09daca
...
@@ -37,7 +37,7 @@ module Pod
...
@@ -37,7 +37,7 @@ module Pod
def
create_xcconfig_file
def
create_xcconfig_file
path
=
library
.
xcconfig_path
path
=
library
.
xcconfig_path
UI
.
message
"- Generating xcconfig file at
#{
UI
.
path
(
path
)
}
"
do
UI
.
message
"- Generating xcconfig file at
#{
UI
.
path
(
path
)
}
"
do
gen
=
Generator
::
Pod
XCConfig
.
new
(
library
)
gen
=
Generator
::
Aggregate
XCConfig
.
new
(
library
)
gen
.
save_as
(
path
)
gen
.
save_as
(
path
)
library
.
xcconfig
=
gen
.
xcconfig
library
.
xcconfig
=
gen
.
xcconfig
xcconfig_file_ref
=
add_file_to_support_group
(
path
)
xcconfig_file_ref
=
add_file_to_support_group
(
path
)
...
...
lib/cocoapods/installer/target_installer/pod_target_installer.rb
View file @
1b09daca
...
@@ -59,14 +59,14 @@ module Pod
...
@@ -59,14 +59,14 @@ module Pod
def
create_xcconfig_file
def
create_xcconfig_file
path
=
library
.
xcconfig_path
path
=
library
.
xcconfig_path
UI
.
message
"- Generating public xcconfig file at
#{
UI
.
path
(
path
)
}
"
do
UI
.
message
"- Generating public xcconfig file at
#{
UI
.
path
(
path
)
}
"
do
gen
=
Generator
::
Public
Spec
XCConfig
.
new
(
library
)
gen
=
Generator
::
Public
Pod
XCConfig
.
new
(
library
)
gen
.
save_as
(
path
)
gen
.
save_as
(
path
)
add_file_to_support_group
(
path
)
add_file_to_support_group
(
path
)
end
end
path
=
library
.
xcconfig_private_path
path
=
library
.
xcconfig_private_path
UI
.
message
"- Generating private xcconfig file at
#{
UI
.
path
(
path
)
}
"
do
UI
.
message
"- Generating private xcconfig file at
#{
UI
.
path
(
path
)
}
"
do
gen
=
Generator
::
Private
Spec
XCConfig
.
new
(
library
)
gen
=
Generator
::
Private
Pod
XCConfig
.
new
(
library
)
gen
.
save_as
(
path
)
gen
.
save_as
(
path
)
xcconfig_file_ref
=
add_file_to_support_group
(
path
)
xcconfig_file_ref
=
add_file_to_support_group
(
path
)
...
...
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