bin/calabash-android-helpers.rb in calabash-android-0.1.0 vs bin/calabash-android-helpers.rb in calabash-android-0.2.0.pre2
- old
+ new
@@ -41,26 +41,11 @@
#system("less #{file}")
#TODO
print_usage
end
-
def is_json?(str)
str[0..0] == '{'
-end
-
-def run_build_if_test_server_does_not_exist
- unless File.exists?(File.join(@support_dir, "Test.apk"))
- puts "Could not find the test server"
- puts "Should I run calabash-android build for you?"
- puts "Please answer yes (y) or no (n)"
- if ['yes', 'y'].include? STDIN.gets.chomp
- calabash_build([])
- else
- puts "Please run: calabash-android build"
- exit 1
- end
- end
end
def run_setup_if_settings_does_not_exist
unless File.exists?(".calabash_settings")
puts "Could not find .calabash_settings."