bin/calabash-android-run.rb in calabash-android-0.4.0.pre16 vs bin/calabash-android-run.rb in calabash-android-0.4.0.pre17
- old
+ new
@@ -11,18 +11,10 @@
puts "2) Replace #{old_runner} with #{new_rummer}"
exit 1
end
if app_path
- unless File.exist?(test_server_path(app_path))
- if ARGV.include? "--no-build"
- puts "No test server found for this combination of app and calabash version. Exiting!"
- exit 1
- else
- puts "No test server found for this combination of app and calabash version. Recreating test server."
- calabash_build(app_path)
- end
- end
+ build_test_server_if_needed(app_path)
test_server_path = test_server_path(app_path)
if ENV["TEST_SERVER_PORT"]
test_server_port = ENV["TEST_SERVER_PORT"]
else
\ No newline at end of file