Commit 1b09daca authored by Fabio Pelosin's avatar Fabio Pelosin

[Xcconfig] Rename classes to reflect the Target

parent 6a9aabb5
......@@ -62,9 +62,9 @@ module Pod
autoload :DummySource, 'cocoapods/generator/dummy_source'
autoload :PrefixHeader, 'cocoapods/generator/prefix_header'
autoload :TargetEnvironmentHeader, 'cocoapods/generator/target_environment_header'
autoload :PodXCConfig, 'cocoapods/generator/xcconfig'
autoload :PublicSpecXCConfig, 'cocoapods/generator/xcconfig'
autoload :PrivateSpecXCConfig, 'cocoapods/generator/xcconfig'
autoload :AggregateXCConfig, 'cocoapods/generator/xcconfig'
autoload :PublicPodXCConfig, 'cocoapods/generator/xcconfig'
autoload :PrivatePodXCConfig, 'cocoapods/generator/xcconfig'
end
module Hooks
......
......@@ -5,7 +5,7 @@ module Pod
# for each Pod and for each Pod target definition. The aggregates the
# configurations of the Pods and define target specific settings.
#
class AbstractXCConfig
class XCConfig
# @return [Target] the aggregate_target or target represented by this xcconfig.
#
......@@ -114,7 +114,7 @@ module Pod
#-------------------------------------------------------------------------#
class PodXCConfig < AbstractXCConfig
class AggregateXCConfig < XCConfig
# Generates the xcconfig for the Pod integration target.
#
......@@ -155,7 +155,7 @@ module Pod
#-------------------------------------------------------------------------#
class PublicSpecXCConfig < AbstractXCConfig
class PublicPodXCConfig < XCConfig
# Generates and saves the xcconfig to the given path.
#
......@@ -189,7 +189,7 @@ module Pod
#-------------------------------------------------------------------------#
class PrivateSpecXCConfig < AbstractXCConfig
class PrivatePodXCConfig < XCConfig
# Generates the xcconfig for the aggregate_target.
#
......
......@@ -37,7 +37,7 @@ module Pod
def create_xcconfig_file
path = library.xcconfig_path
UI.message "- Generating xcconfig file at #{UI.path(path)}" do
gen = Generator::PodXCConfig.new(library)
gen = Generator::AggregateXCConfig.new(library)
gen.save_as(path)
library.xcconfig = gen.xcconfig
xcconfig_file_ref = add_file_to_support_group(path)
......
......@@ -59,14 +59,14 @@ module Pod
def create_xcconfig_file
path = library.xcconfig_path
UI.message "- Generating public xcconfig file at #{UI.path(path)}" do
gen = Generator::PublicSpecXCConfig.new(library)
gen = Generator::PublicPodXCConfig.new(library)
gen.save_as(path)
add_file_to_support_group(path)
end
path = library.xcconfig_private_path
UI.message "- Generating private xcconfig file at #{UI.path(path)}" do
gen = Generator::PrivateSpecXCConfig.new(library)
gen = Generator::PrivatePodXCConfig.new(library)
gen.save_as(path)
xcconfig_file_ref = add_file_to_support_group(path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment