Sha256: 73a31017531cde7bd4d1c09d2454f8fd9362047ea66958678c49d5ec58f921f9

Contents?: true

Size: 666 Bytes

Versions: 109

Compression:

Stored size: 666 Bytes

Contents

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

  msg("Info") do
    puts "Features subdirectory created. \n"
    puts "Make sure you've build your -cal scheme in XCode and "
    puts "try executing \n\ncucumber"
  end

end

Version data entries

109 entries across 109 versions & 2 rubygems

Version Path
calabash-cucumber-0.11.5.pre5 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.5.pre3 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.5.pre2 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.4 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.4.pre2 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.4.pre1 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.3 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.2 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.1 bin/calabash-ios-generate.rb
calabash-cucumber-0.11.0 bin/calabash-ios-generate.rb
calabash-cucumber-0.10.2 bin/calabash-ios-generate.rb
calabash-cucumber-0.10.1 bin/calabash-ios-generate.rb
calabash-cucumber-0.10.0 bin/calabash-ios-generate.rb
calabash-cucumber-0.10.0.pre8 bin/calabash-ios-generate.rb
calabash-cucumber-0.10.0.pre5 bin/calabash-ios-generate.rb
calabash-cucumber-0.10.0.pre3 bin/calabash-ios-generate.rb
calabash-cucumber-0.10.0.pre2 bin/calabash-ios-generate.rb
calabash-cucumber-0.10.0.pre1 bin/calabash-ios-generate.rb
calabash-cucumber-0.9.169 bin/calabash-ios-generate.rb
calabash-cucumber-0.9.169.pre6 bin/calabash-ios-generate.rb