mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-05-23 11:46:37 +08:00
[bacon-ui] Always set the deployment target in the env.
This commit is contained in:
@@ -12,6 +12,10 @@ Motion::Project::App.setup do |app|
|
||||
#app.archs['iPhoneSimulator'] = ['x86_64']
|
||||
|
||||
app.spec_files.insert(1, *FileList['../../lib/motion/util/version.rb', '../helpers/*.rb'])
|
||||
app.deployment_target = ENV['deployment_target'] if ENV['deployment_target']
|
||||
if ENV['deployment_target']
|
||||
app.deployment_target = ENV['deployment_target']
|
||||
else
|
||||
ENV['deployment_target'] = app.deployment_target
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user