Sha256: a2fff593ceaeca57b5c52a9bcfe5379b73cd879ad54c0962f04e5272f05c67f0

Contents?: true

Size: 1.42 KB

Versions: 20

Compression:

Stored size: 1.42 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')

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 == 'build'
  build
  exit 0
elsif cmd == 'run'
  run
  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 == 'submit'
  calabash_submit(ARGV)
  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)
  elsif subcmd == 'device'
    calabash_sim_device(ARGV)
  else
    print_usage
  end
else
  print_usage
end


Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
calabash-cucumber-0.9.93 bin/calabash-ios
calabash-cucumber-0.9.92 bin/calabash-ios
calabash-cucumber-0.9.91 bin/calabash-ios
calabash-cucumber-0.9.90 bin/calabash-ios
calabash-cucumber-0.9.89 bin/calabash-ios
calabash-cucumber-0.9.88 bin/calabash-ios
calabash-cucumber-0.9.87 bin/calabash-ios
calabash-cucumber-0.9.86 bin/calabash-ios
calabash-cucumber-0.9.85 bin/calabash-ios
calabash-cucumber-0.9.84 bin/calabash-ios
calabash-cucumber-0.9.82 bin/calabash-ios
calabash-cucumber-0.9.80 bin/calabash-ios
calabash-cucumber-0.9.80.pre.5 bin/calabash-ios
calabash-cucumber-0.9.80.pre.4 bin/calabash-ios
calabash-cucumber-0.9.80.pre.2 bin/calabash-ios
calabash-cucumber-0.9.80.pre.1 bin/calabash-ios
calabash-cucumber-0.9.74 bin/calabash-ios
calabash-cucumber-0.9.72 bin/calabash-ios
calabash-cucumber-0.9.70 bin/calabash-ios
calabash-cucumber-0.9.68 bin/calabash-ios