Sha256: d6af85c2816b3a188e54f42fceb485b4a9e67a545cfb49c9169734dda7c004b8

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

desc "Copy initializer file to target application"
file "deforest" do
  source_file = "#{Deforest::Engine.root}/lib/tasks/deforest_initializer.rb"
  dest_file = "#{Rails.root}/config/initializers/deforest.rb"
  FileUtils.copy_file source_file, dest_file
  puts "Created initializer config/initiliazer/deforest.rb"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deforest-1.0.1 lib/tasks/deforest_tasks.rake
deforest-1.0.0 lib/tasks/deforest_tasks.rake
deforest-0.0.1 lib/tasks/deforest_tasks.rake