bin/calabash-android-run.rb in calabash-android-0.0.2 vs bin/calabash-android-run.rb in calabash-android-0.0.3

- old
+ new

@@ -1,10 +1,8 @@ def calabash_run(args) - unless File.exists?(".calabash_settings") - puts "Could not find .calabash_settings" - puts "Please run: calabash-android setup" - exit 1 - end + run_build_if_test_server_does_not_exist + + settings = JSON.parse(IO.read(".calabash_settings")) env ={"PACKAGE_NAME" => settings["package_name"], "TEST_PACKAGE_NAME" => "#{settings["package_name"]}.test", "APP_PATH" => settings["app_path"], \ No newline at end of file