Sha256: fa4eab10bf4ac964f49706b46e81fa18eb02e205550b11c439d11eb5e250641b

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 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

  unless ENV["IRBRC"]
    ENV["IRBRC"] = File.join(File.dirname(__FILE__), '..', 'irbrc')
  end

  unless ENV["PACKAGE_NAME"]
    ENV["PACKAGE_NAME"] = package_name(app_path)  
  end

  unless ENV["MAIN_ACTIVITY"]
    ENV["MAIN_ACTIVITY"] = main_activity(app_path)  
  end

  system "irb"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
calabash-android-0.3.5 bin/calabash-android-console.rb
calabash-android-0.3.4 bin/calabash-android-console.rb
calabash-android-0.3.3 bin/calabash-android-console.rb
calabash-android-0.3.3.pre5 bin/calabash-android-console.rb