Sha256: 8746c5853c2fa09bc0c79f4a64685d09ab413bc789e3b0d2ea9009e7bca9a7b7
Contents?: true
Size: 897 Bytes
Versions: 1
Compression:
Stored size: 897 Bytes
Contents
#!/usr/bin/env ruby require 'fileutils' features_dir = File.join( FileUtils.pwd, "features" ) if File.exists?( features_dir ) puts "A features directory already exists. I won't overwrite it. Giving up." exit 1 else puts "I'm about to create a subdirectory called features which will contain all your calabash tests. Please hit return to confirm that's what you want." exit 2 unless STDIN.gets.chomp == '' end source_dir = File.join( File.dirname(__FILE__), '..', 'features-skeleton' ) FileUtils.cp_r( source_dir, features_dir ) puts "features subdirectory created. Try starting you app in the iOS simulator using the Calabash target (see calabash-ios-server for how to create the target)." puts "Then try executing \n\nSTEP_PAUSE=2 OS=ios5 DEVICE=iphone cucumber" puts "\n (replace ios5 with ios4 if running iOS 4.x simulator. Replace iphone with ipad if running iPad simulator.)."
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
calabash-cucumber-0.9.0 | bin/calabash |