mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-29 05:05:37 +08:00
Fix for extensions
This commit is contained in:
committed by
Eloy Durán
parent
1d681f1680
commit
bf594af9d0
@@ -143,7 +143,7 @@ PLIST
|
||||
def src_extension_path
|
||||
@src_extension_path ||= begin
|
||||
path = File.join(@path, 'build', build_dir(@config, @platform), '*.appex')
|
||||
Dir[path].sort_by{ |f| File.mtime(f) }.first
|
||||
Dir[path].sort_by{ |f| File.mtime(f) }.last
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ PLIST
|
||||
def framework_path
|
||||
@framework_path ||= begin
|
||||
path = File.join(@path, 'build', build_dir(@config, @platform), '*.framework')
|
||||
Dir[path].sort_by{ |f| File.mtime(f) }.first
|
||||
Dir[path].sort_by{ |f| File.mtime(f) }.last
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user