Sha256: 44b41c4a508f334367dafb5fe58504296d3af1bfa017d49b2e0db8337bf84c88
Contents?: true
Size: 627 Bytes
Versions: 9
Compression:
Stored size: 627 Bytes
Contents
def calabash_console(app_path = nil) test_server_path = test_server_path(app_path) unless ENV["TEST_SERVER_PORT"] ENV["TEST_SERVER_PORT"] = "34777" end ENV["IRBRC"] = File.join(File.dirname(__FILE__), '..', 'irbrc') unless ENV["PACKAGE_NAME"] ENV["PACKAGE_NAME"] = package_name(app_path) end unless ENV["MAIN_ACTIVITY"] ENV["MAIN_ACTIVITY"] = main_activity(app_path) end unless ENV["APP_PATH"] ENV["APP_PATH"] = app_path end unless ENV["TEST_APP_PATH"] ENV["TEST_APP_PATH"] = test_server_path end build_test_server_if_needed(app_path) system "#{RbConfig.ruby} -S irb" end
Version data entries
9 entries across 9 versions & 2 rubygems