bin/calabash-android-build.rb in calabash-android-0.4.0.pre1 vs bin/calabash-android-build.rb in calabash-android-0.4.0.pre2
- old
+ new
@@ -1,6 +1,12 @@
def calabash_build(app)
keystore = read_keystore_info()
+ if fingerprint_from_keystore != fingerprint_from_apk(app)
+ puts "#{app} is not signed with the configured keystore '#{keystore["keystore_location"]}' Aborting!"
+ exit 1
+ end
+
+
test_server_file_name = test_server_path(app)
FileUtils.mkdir_p File.dirname(test_server_file_name) unless File.exist? File.dirname(test_server_file_name)
unsigned_test_apk = File.join(File.dirname(__FILE__), '..', 'lib/calabash-android/lib/TestServer.apk')
\ No newline at end of file