Sha256: 0ef2ba9e2dfdc6e13ac7db851d179c20b6c52a738e0ee896a4951d3a6f9963af

Contents?: true

Size: 602 Bytes

Versions: 22

Compression:

Stored size: 602 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"
  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

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