Sha256: 7f12864798ff59aaa6428201d05b740685900d5fccb4d3e187e9caeb16930a53

Contents?: true

Size: 661 Bytes

Versions: 26

Compression:

Stored size: 661 Bytes

Contents

require "calabash-android/version"

def calabash_setup
  @settings = {}

  puts "Please enter keystore information to use a custom keystore instead of the default"

  ask_for_setting(:keystore_location, "Please enter keystore location")
  ask_for_setting(:keystore_password, "Please enter the password for the keystore")
  ask_for_setting(:keystore_alias, "Please enter the alias")

  open('calabash_settings', 'w') do |f|
    f.puts @settings.to_json
  end
  puts "Saved your settings to .calabash_settings. You can edit the settings manually or run this setup script again"
end

def ask_for_setting(key, msg)
  puts msg
  @settings[key] = STDIN.gets.chomp
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
calabash-android-0.4.20.1 bin/calabash-android-setup.rb
calabash-android-0.5.1 bin/calabash-android-setup.rb
calabash-android-0.5.0 bin/calabash-android-setup.rb
calabash-android-0.5.0.pre2 bin/calabash-android-setup.rb
calabash-android-0.5.0.pre1 bin/calabash-android-setup.rb
calabash-android-0.4.22.pre4 bin/calabash-android-setup.rb
calabash-android-0.4.22.pre3 bin/calabash-android-setup.rb
calabash-android-0.4.22.pre1 bin/calabash-android-setup.rb
calabash-android-0.4.21 bin/calabash-android-setup.rb
calabash-android-0.4.20 bin/calabash-android-setup.rb
calabash-android-0.4.19 bin/calabash-android-setup.rb
calabash-android-0.4.19.pre4 bin/calabash-android-setup.rb
calabash-android-0.4.19.pre3 bin/calabash-android-setup.rb
calabash-android-0.4.19.pre2 bin/calabash-android-setup.rb
calabash-android-0.4.19.pre1 bin/calabash-android-setup.rb
calabash-android-0.4.18 bin/calabash-android-setup.rb
calabash-android-0.4.16 bin/calabash-android-setup.rb
calabash-android-0.4.15.pre2 bin/calabash-android-setup.rb
calabash-android-0.4.15.pre1 bin/calabash-android-setup.rb
calabash-android-0.4.14 bin/calabash-android-setup.rb