bin/calabash-android-build.rb in calabash-android-0.3.0.pre4 vs bin/calabash-android-build.rb in calabash-android-0.3.0.pre5
- old
+ new
@@ -2,11 +2,10 @@
def calabash_build(app)
keystore = read_keystore_info()
test_server_file_name = test_server_path(app)
unsigned_test_apk = File.join(File.dirname(__FILE__), '..', 'lib/calabash-android/lib/TestServer.apk')
- android_platform = Dir["#{ENV["ANDROID_HOME"]}/platforms/android-*"].last
-
+ android_platform = Dir["#{ENV["ANDROID_HOME"].gsub("\\", "/")}/platforms/android-*"].last
Dir.mktmpdir do |workspace_dir|
Dir.chdir(workspace_dir) do
FileUtils.cp(unsigned_test_apk, "TestServer.apk")
FileUtils.cp(File.join(File.dirname(__FILE__), '..', 'test-server/AndroidManifest.xml'), "AndroidManifest.xml")
\ No newline at end of file