Merge pull request #14 from qrush/master

Grab files within symlinks inside of the resources directory when copying over resources
This commit is contained in:
Laurent Sansonetti
2012-07-05 07:31:34 -07:00

View File

@@ -340,7 +340,7 @@ EOS
resources_files = []
if File.exist?(config.resources_dir)
resources_files = Dir.chdir(config.resources_dir) do
Dir.glob('**/*').reject { |x| ['.xib', '.storyboard', '.xcdatamodeld', '.lproj'].include?(File.extname(x)) }
Dir.glob('**{,/*/**}/*').reject { |x| ['.xib', '.storyboard', '.xcdatamodeld', '.lproj'].include?(File.extname(x)) }
end
resources_files.each do |res|
res_path = File.join(config.resources_dir, res)