mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-24 04:46:05 +08:00
don't start the repl in spec mode
This commit is contained in:
@@ -63,7 +63,7 @@ task :simulator => ['build:simulator'] do
|
||||
xcode = App.config.xcode_dir
|
||||
env = xcode.match(/^\/Applications/) ? "DYLD_FRAMEWORK_PATH=\"#{xcode}/../Frameworks\":\"#{xcode}/../OtherFrameworks\"" : ''
|
||||
sim = File.join(App.config.bindir, 'sim')
|
||||
debug = (ENV['debug'] || '0') == '1' ? 1 : 0
|
||||
debug = (ENV['debug'] || '0') == '1' ? 1 : (App.config.spec_mode ? 0 : 2)
|
||||
App.info 'Simulate', app
|
||||
at_exit { system("stty echo") } # Just in case the simulator launcher crashes and leaves the terminal without echo.
|
||||
sh "#{env} #{sim} #{debug} #{family_int} #{target} \"#{xcode}\" \"#{app}\""
|
||||
|
||||
Reference in New Issue
Block a user