Sha256: 5eb03e7e297e938be8be51dd57df204aa24afd07b1c2cab3461f92f079a3b4fc

Contents?: true

Size: 398 Bytes

Versions: 30

Compression:

Stored size: 398 Bytes

Contents

namespace :local do
  desc 'Copies over the same local files ready for editing'
  task :setup do
    sample_files = Dir[File.join(PROJECT_ROOT, "local/*.rb.sample")]
    sample_files.each do |sample_file|
      file = sample_file.sub(".sample","")
      unless File.exists?(file)
        puts "Copying #{sample_file} -> #{file}"
        sh %{ cp #{sample_file} #{file} }
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 5 rubygems

Version Path
kovyrin-composite_primary_keys-2.3.2 tasks/local_setup.rake
mingusbabcock-composite_primary_keys-2.2.2.1 tasks/local_setup.rake
tyler-composite_primary_keys-1.1.0 tasks/local_setup.rake
tyler-composite_primary_keys-1.1.1 tasks/local_setup.rake
tyler-composite_primary_keys-1.1.2 tasks/local_setup.rake
tyler-composite_primary_keys-1.1.3 tasks/local_setup.rake
tyler-composite_primary_keys-1.1.4 tasks/local_setup.rake
globe-composite_primary_keys-3.0.1 tasks/local_setup.rake
composite_primary_keys-2.3.5.1 tasks/local_setup.rake
composite_primary_keys-2.3.5 tasks/local_setup.rake
composite_primary_keys-2.3.2 tasks/local_setup.rake
composite_primary_keys-0.9.90 tasks/local_setup.rake
composite_primary_keys-1.0.1 tasks/local_setup.rake
composite_primary_keys-1.0.2 tasks/local_setup.rake
composite_primary_keys-0.9.0 tasks/local_setup.rake
composite_primary_keys-0.9.91 tasks/local_setup.rake
composite_primary_keys-0.9.92 tasks/local_setup.rake
composite_primary_keys-0.9.93 tasks/local_setup.rake
composite_primary_keys-1.0.0 tasks/local_setup.rake
composite_primary_keys-1.0.10 tasks/local_setup.rake