mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-05-07 01:41:50 +08:00
add detect_dependencies variable to resolve file dependencies
This commit is contained in:
@@ -52,7 +52,7 @@ module Motion; module Project
|
||||
:resources_dir, :specs_dir, :identifier, :codesign_certificate,
|
||||
:provisioning_profile, :device_family, :interface_orientations, :version,
|
||||
:short_version, :icons, :prerendered_icon, :background_modes, :seed_id,
|
||||
:entitlements, :fonts, :status_bar_style, :motiondir
|
||||
:entitlements, :fonts, :status_bar_style, :motiondir, :detect_dependencies
|
||||
|
||||
# Internal only.
|
||||
attr_accessor :build_mode, :spec_mode, :distribution_mode, :dependencies
|
||||
@@ -62,6 +62,7 @@ module Motion; module Project
|
||||
@files = Dir.glob(File.join(project_dir, 'app/**/*.rb'))
|
||||
@info_plist = {}
|
||||
@dependencies = {}
|
||||
@detect_dependencies = false
|
||||
@frameworks = ['UIKit', 'Foundation', 'CoreGraphics']
|
||||
@weak_frameworks = []
|
||||
@framework_search_paths = []
|
||||
|
||||
Reference in New Issue
Block a user