mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-11 16:30:28 +08:00
move app.version from config to xcodeconfig
This commit is contained in:
committed by
Watson
parent
8964a0dfc7
commit
e6e2b9efc6
@@ -51,8 +51,7 @@ module Motion; module Project
|
||||
end
|
||||
end
|
||||
|
||||
variable :name, :files, :build_dir, :specs_dir, :resources_dirs, :version,
|
||||
:motiondir
|
||||
variable :name, :files, :build_dir, :specs_dir, :resources_dirs, :motiondir
|
||||
|
||||
# Internal only.
|
||||
attr_accessor :build_mode, :spec_mode, :distribution_mode, :dependencies,
|
||||
@@ -83,7 +82,6 @@ module Motion; module Project
|
||||
@resources_dirs = [File.join(project_dir, 'resources')]
|
||||
@build_dir = File.join(project_dir, 'build')
|
||||
@specs_dir = File.join(project_dir, 'spec')
|
||||
@version = '1.0'
|
||||
@detect_dependencies = true
|
||||
@exclude_from_detect_dependencies = []
|
||||
end
|
||||
|
||||
@@ -30,7 +30,8 @@ module Motion; module Project;
|
||||
class XcodeConfig < Config
|
||||
variable :xcode_dir, :sdk_version, :deployment_target, :frameworks,
|
||||
:weak_frameworks, :framework_search_paths, :libs, :identifier,
|
||||
:codesign_certificate, :short_version, :entitlements, :delegate_class
|
||||
:codesign_certificate, :short_version, :entitlements, :delegate_class,
|
||||
:version
|
||||
|
||||
def initialize(project_dir, build_mode)
|
||||
super
|
||||
@@ -46,6 +47,7 @@ module Motion; module Project;
|
||||
@delegate_class = 'AppDelegate'
|
||||
@spec_mode = false
|
||||
@vendor_projects = []
|
||||
@version = '1.0'
|
||||
end
|
||||
|
||||
def xcode_dir
|
||||
|
||||
Reference in New Issue
Block a user