2 desc 'Copies over the same local files ready for editing'
4 sample_files = Dir[File.join(PROJECT_ROOT, "local/*.rb.sample")]
5 sample_files.each do |sample_file|
6 file = sample_file.sub(".sample","")
7 unless File.exists?(file)
8 puts "Copying #{sample_file} -> #{file}"
9 sh %{ cp #{sample_file} #{file} }