Commit 1576e278 authored by Marius Rackwitz's avatar Marius Rackwitz

[Doc] Added inline comments to CopyResourcesScript

parent 07857343
......@@ -68,7 +68,10 @@ module Pod
# @return [String] The contents of the copy resources script.
#
def script
# Define install function
script = install_resources_function
# Call function for each configuration-dependent resource
resources_by_config.each do |config, resources|
unless resources.empty?
script += %(if [[ "$CONFIGURATION" == "#{config}" ]]; then\n)
......@@ -78,6 +81,7 @@ module Pod
script += "fi\n"
end
end
script += RSYNC_CALL
script += XCASSETS_COMPILE
script
......
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