bin/calabash-android-build.rb in calabash-android-0.2.0.pre3 vs bin/calabash-android-build.rb in calabash-android-0.2.0.pre4
- old
+ new
@@ -34,13 +34,15 @@
puts "Could not build the test server. Please see the output above."
exit $?.exitstatus
end
}
+ FileUtils.mkdir_p "test_servers" unless File.exist? "test_servers"
+
test_apk = File.join(@test_server_dir, "bin", "Test.apk")
- test_server_file_name = "#{checksum(app)}.apk"
- FileUtils.cp(test_apk, File.join(@support_dir, test_server_file_name))
- puts "Done building the test server. Moved it to features/support/#{test_server_file_name}"
+ test_server_file_name = test_server_path(app)
+ FileUtils.cp(test_apk, test_server_file_name)
+ puts "Done building the test server. Moved it to #{test_server_file_name}"
end
end
def read_keystore_info
if File.exist? ".calabash_settings"
\ No newline at end of file