Sha256: 338a22269894f21c0edb39a12ccf7e0c9a750db89bafd86f0a2353ec45818a94
Contents?: true
Size: 417 Bytes
Versions: 1
Compression:
Stored size: 417 Bytes
Contents
namespace :stylin do namespace :development do desc "Copy templates from view directories into template directory" task :copy_templates_for_generator do view_path = File.expand_path("../../../app/views", __FILE__) template_path = File.expand_path("../../generators/templates/views", __FILE__) FileUtils.rm_r(template_path) FileUtils.cp_r(view_path, template_path) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stylin-0.1.0 | lib/tasks/stylin_tasks.rake |