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