Sha256: 0c29d0c1389599439d765e0b0e1aaa2c2a8e032d1a6f6ce30de5bc92e45ba9ef

Contents?: true

Size: 1.41 KB

Versions: 5

Compression:

Stored size: 1.41 KB

Contents

#!/usr/bin/env ruby

require 'fileutils'
require 'cfpropertylist'
require 'rexml/document'


require File.join(File.dirname(__FILE__),"calabash-ios-helpers")
require File.join(File.dirname(__FILE__),"calabash-ios-generate")
require File.join(File.dirname(__FILE__),"calabash-ios-setup")
require File.join(File.dirname(__FILE__),"calabash-ios-sim")
require File.join(File.dirname(__FILE__),"calabash-ios-build")

@features_dir = File.join(FileUtils.pwd, "features")
@source_dir = File.join(File.dirname(__FILE__), '..', 'features-skeleton')
@script_dir = File.join(File.dirname(__FILE__), '..', 'scripts')
@framework_dir = File.join(File.dirname(__FILE__), '..', 'staticlib')

if (ARGV.length == 0)
  print_usage
  exit 0
end
cmd = ARGV.shift
if cmd == 'help'
  print_help
  exit 0
elsif cmd == 'gen'
  calabash_scaffold
  exit 0
elsif cmd == 'console'
  console
  exit 0
elsif cmd == 'download'
  calabash_download(ARGV)
  exit 0
elsif cmd == 'setup'
  calabash_setup(ARGV)
  exit 0
elsif cmd == 'check'
  validate_setup(ARGV)
  exit 0
elsif cmd == 'version'
  require 'calabash-cucumber'
  puts Calabash::Cucumber::VERSION
  exit 0
elsif cmd == 'sim'
  if ARGV.length == 0
    print_usage
    exit 0
  end
  subcmd = ARGV.shift

  if subcmd == 'reset'
    calabash_sim_reset
  elsif subcmd == 'acc'
    calabash_sim_accessibility
  elsif subcmd == 'locale'
    calabash_sim_locale(ARGV)
  else
    print_usage
  end
else
  print_usage
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
calabash-cucumber-0.21.5 bin/calabash-ios
calabash-cucumber-0.21.4 bin/calabash-ios
calabash-cucumber-0.21.2 bin/calabash-ios
calabash-cucumber-0.21.1 bin/calabash-ios
calabash-cucumber-0.20.5 bin/calabash-ios