mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-24 04:46:05 +08:00
move resources_dirs into the main config object
This commit is contained in:
@@ -47,7 +47,8 @@ module Motion; module Project
|
||||
end
|
||||
end
|
||||
|
||||
variable :name, :files, :build_dir, :specs_dir, :version, :motiondir
|
||||
variable :name, :files, :build_dir, :specs_dir, :resources_dirs, :version,
|
||||
:motiondir
|
||||
|
||||
# Internal only.
|
||||
attr_accessor :build_mode, :spec_mode, :distribution_mode, :dependencies,
|
||||
|
||||
@@ -24,9 +24,8 @@
|
||||
module Motion; module Project;
|
||||
class XcodeConfig < Config
|
||||
variable :xcode_dir, :sdk_version, :deployment_target, :frameworks,
|
||||
:weak_frameworks, :framework_search_paths, :libs, :resources_dirs,
|
||||
:identifier, :codesign_certificate, :short_version, :entitlements,
|
||||
:delegate_class
|
||||
:weak_frameworks, :framework_search_paths, :libs, :identifier,
|
||||
:codesign_certificate, :short_version, :entitlements, :delegate_class
|
||||
|
||||
def initialize(project_dir, build_mode)
|
||||
super
|
||||
|
||||
Reference in New Issue
Block a user