Sha256: 9c4e83e42e5209390c145c783150693333d9d2cb9e0a21bb41b096e855614ee6

Contents?: true

Size: 487 Bytes

Versions: 7

Compression:

Stored size: 487 Bytes

Contents

require 'fileutils'
require 'rake'

namespace :optionsful do
  desc "Enable Optionsful custom configurations by creating the file 'config/optionsful.yml'"
  task :yml do
    FileUtils.cp File.join(Baurets::Optionsful::LIB_ROOT, '..','samples', 'optionsful.yml'), File.join(Rails.root, 'config', 'optionsful.yml')
    puts "\nNow you are able to configure Optionsful Link hader generation settings"
    puts "\nEdit the file 'config/optionsful.yml' at your Rails 3 application."
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
optionsful-0.5.3 tasks/optionsful.rake
optionsful-0.5.2 tasks/optionsful.rake
optionsful-0.5.1 tasks/optionsful.rake
optionsful-0.5.0 tasks/optionsful.rake
optionsful-0.4.3 tasks/optionsful.rake
optionsful-0.4.2 tasks/optionsful.rake
optionsful-0.4.1 tasks/optionsful.rake