Sha256: d6a1cbba01766bdf6a1ffa8dc2d0c37aeac92c345ee409ef61b6330e957adc6a

Contents?: true

Size: 1.02 KB

Versions: 30

Compression:

Stored size: 1.02 KB

Contents

require 'tempfile'
require 'json'
require "rubygems"


def msg(title, &block)
  puts "\n" + "-"*10 + title + "-"*10
  block.call
  puts "-"*10 + "-------" + "-"*10 + "\n"
end

def print_usage
  puts <<EOF
  Usage: calabash-android <command-name> [parameters] [options]
  <command-name> can be one of
    help
      prints more detailed help information.
    gen
      generate a features folder structure.
    setup 
      sets up a non-default keystore to use with this test project.
    build <apk>
      builds the test server that will be used when testing the app.
    run <apk>
      runs Cucumber in the current folder with the enviroment needed.
    version
      prints the gem version

  <options> can be
    -v, --verbose
      Turns on verbose logging
    --google-maps-support
      Adds supports for Google Maps to the test server
EOF
end

def print_help
  file = File.join(File.dirname(__FILE__), '..', 'doc', 'calabash-android-help.txt')
  #system("less #{file}")
  #TODO
  print_usage
end

def is_json?(str)
  str[0..0] == '{'
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
calabash-android-0.3.3 bin/calabash-android-helpers.rb
calabash-android-0.3.3.pre5 bin/calabash-android-helpers.rb
calabash-android-0.3.3.pre3 bin/calabash-android-helpers.rb
calabash-android-0.3.3.pre2 bin/calabash-android-helpers.rb
calabash-android-0.3.3.pre1 bin/calabash-android-helpers.rb
calabash-android-0.3.2 bin/calabash-android-helpers.rb
calabash-android-0.3.2.pre5 bin/calabash-android-helpers.rb
calabash-android-0.3.2.pre4 bin/calabash-android-helpers.rb
calabash-android-0.3.2.pre3 bin/calabash-android-helpers.rb
calabash-android-0.3.2.pre2 bin/calabash-android-helpers.rb
calabash-android-0.3.2.pre1 bin/calabash-android-helpers.rb
calabash-android-0.3.1 bin/calabash-android-helpers.rb
calabash-android-0.3.0 bin/calabash-android-helpers.rb
calabash-android-0.3.0.pre10 bin/calabash-android-helpers.rb
calabash-android-0.3.0.pre9 bin/calabash-android-helpers.rb
calabash-android-0.3.0.pre8 bin/calabash-android-helpers.rb
calabash-android-0.3.0.pre7 bin/calabash-android-helpers.rb
calabash-android-0.3.0.pre6 bin/calabash-android-helpers.rb
calabash-android-0.3.0.pre5 bin/calabash-android-helpers.rb
calabash-android-0.3.0.pre4 bin/calabash-android-helpers.rb