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