mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-16 13:20:18 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user