add support for custom abstract targets in path to cocoapods xcconfig files. closes #236
This commit is contained in:
parent
cd82b034ed
commit
13e28f1b7f
|
|
@ -1,5 +1,6 @@
|
|||
targets:
|
||||
TestProject:
|
||||
abstract_targets_prefix: "-TestProjectKit"
|
||||
development:
|
||||
PRODUCT_BUNDLE_IDENTIFIER: "ru.touchin.testproject"
|
||||
PROVISIONING_PROFILE_SPECIFIER: "TestProjectDev"
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ targets.each do |target_name, target|
|
|||
# Create settings pack
|
||||
config_data = {
|
||||
"target_name": target_name,
|
||||
"abstract_targets_prefix": target["abstract_targets_prefix"],
|
||||
"configuration": config
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "Pods/Target Support Files/Pods-{{target_name}}/Pods-{{target_name}}.{{configuration.build_type}}.xcconfig"
|
||||
#include "Pods/Target Support Files/Pods{{abstract_targets_prefix}}-{{target_name}}/Pods{{abstract_targets_prefix}}-{{target_name}}.{{configuration.build_type}}.xcconfig"
|
||||
|
||||
{{#configuration.xcconfig_options}}
|
||||
{{key}} = {{value}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue