Commit 1845945e authored by Will Pragnell's avatar Will Pragnell

Added acknowledgements_path to TargetDefinition class

parent 0bd7b51c
......@@ -87,8 +87,7 @@ module Pod
target_installers.each do |target_installer|
pods_for_target = activated_pods_by_target[target_installer.target_definition]
target_installer.install!(pods_for_target, @sandbox)
acknowledgements_path = config.project_pods_root +
"#{target_installer.target_definition.label}-Acknowledgements"
acknowledgements_path = target_installer.target_definition.acknowledgements_path
Generator::Acknowledgements.new(target_installer.target_definition,
pods_for_target).save_as(acknowledgements_path)
end
......
......@@ -61,6 +61,10 @@ module Pod
end
end
def acknowledgements_path
config.project_pods_root + "#{label}-Acknowledgements"
end
# Returns a path, which is relative to the project_root, relative to the
# `$(SRCROOT)` of the user's project.
def relative_to_srcroot(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