Sha256: dd4422992bc8de6613847447245992fb88a7202970630da4827c229b57a641e6

Contents?: true

Size: 717 Bytes

Versions: 17

Compression:

Stored size: 717 Bytes

Contents

def calabash_scaffold
  if File.exists?(@features_dir)
    puts "A features directory already exists. Stopping..."
    #puts "Run calabash-android update for update instructions."
    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

17 entries across 17 versions & 1 rubygems

Version Path
calabash-android-0.1.0 bin/calabash-android-generate.rb
calabash-android-0.0.19 bin/calabash-android-generate.rb
calabash-android-0.0.18 bin/calabash-android-generate.rb
calabash-android-0.0.17 bin/calabash-android-generate.rb
calabash-android-0.0.16 bin/calabash-android-generate.rb
calabash-android-0.0.15 bin/calabash-android-generate.rb
calabash-android-0.0.14 bin/calabash-android-generate.rb
calabash-android-0.0.13 bin/calabash-android-generate.rb
calabash-android-0.0.12 bin/calabash-android-generate.rb
calabash-android-0.0.11 bin/calabash-android-generate.rb
calabash-android-0.0.10 bin/calabash-android-generate.rb
calabash-android-0.0.8 bin/calabash-android-generate.rb
calabash-android-0.0.7 bin/calabash-android-generate.rb
calabash-android-0.0.6 bin/calabash-android-generate.rb
calabash-android-0.0.5 bin/calabash-android-generate.rb
calabash-android-0.0.4 bin/calabash-android-generate.rb
calabash-android-0.0.3 bin/calabash-android-generate.rb