Sha256: d78e244d79c3540223f9d903680cbccd6076d3715973fbaa0363b24fd9dd7740

Contents?: true

Size: 652 Bytes

Versions: 31

Compression:

Stored size: 652 Bytes

Contents

def calabash_scaffold
  if File.exists?(@features_dir)
    puts "A features directory already exists. Stopping..."
    exit 1
  end
  msg("Question") do
    puts "I'm about to create a subdirectory called features."
    puts "features will contain all your calabash tests."
    puts "Please hit return to confirm that's what you want."
  end
  exit 2 unless STDIN.gets.chomp == ''

  FileUtils.cp_r(@source_dir, @features_dir)
  FileUtils.mv "#{@features_dir}/.irbrc", "."
  FileUtils.mv "#{@features_dir}/irb_android.sh", "."

  msg("Info") do
    puts "features subdirectory created. \n"
    puts "Try executing \n\ncalabash-android run"
  end

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
calabash-android-0.2.21 bin/calabash-android-generate.rb
calabash-android-0.2.20 bin/calabash-android-generate.rb
calabash-android-0.2.19 bin/calabash-android-generate.rb
calabash-android-0.2.18 bin/calabash-android-generate.rb
calabash-android-0.2.17 bin/calabash-android-generate.rb
calabash-android-0.2.16 bin/calabash-android-generate.rb
calabash-android-0.2.15 bin/calabash-android-generate.rb
calabash-android-0.2.14 bin/calabash-android-generate.rb
calabash-android-0.2.13 bin/calabash-android-generate.rb
calabash-android-0.2.12 bin/calabash-android-generate.rb
calabash-android-0.2.11 bin/calabash-android-generate.rb
calabash-android-0.2.10 bin/calabash-android-generate.rb
calabash-android-0.2.9 bin/calabash-android-generate.rb
calabash-android-0.2.8 bin/calabash-android-generate.rb
calabash-android-0.2.7 bin/calabash-android-generate.rb
calabash-android-0.2.6 bin/calabash-android-generate.rb
calabash-android-0.2.5 bin/calabash-android-generate.rb
calabash-android-0.2.4 bin/calabash-android-generate.rb
calabash-android-0.2.3 bin/calabash-android-generate.rb
calabash-android-0.2.2 bin/calabash-android-generate.rb