Commit bfdbcdc0 authored by Marius Rackwitz's avatar Marius Rackwitz

[Refactor] Select resources bundles to add less procedural

parent 98ec553c
...@@ -82,11 +82,9 @@ module Pod ...@@ -82,11 +82,9 @@ module Pod
project.new_file(res.relative_path_from(project.path.dirname)) project.new_file(res.relative_path_from(project.path.dirname))
end end
project.products_group.files.each do |product_ref| resource_refs += project.products_group.files.select do |product_ref|
file_accessor.resource_bundles.keys.each do |bundle_name| file_accessor.resource_bundles.keys.any? do |bundle_name|
if product_ref.path == "#{bundle_name}.bundle" product_ref.path == "#{bundle_name}.bundle"
resource_refs << product_ref
end
end end
end end
......
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