Sha256: c7091dd7b418dbbc3daf17523a48844ad8f2270341d4bbba3a12cffbc7775e87
Contents?: true
Size: 719 Bytes
Versions: 1
Compression:
Stored size: 719 Bytes
Contents
require 'fileutils' def copy_files(source_path, destination_path, directory) source, destination = File.join(directory, source_path), File.join(Rails.root, destination_path) FileUtils.mkdir_p(destination, :verbose => true) unless File.exist?(destination) FileUtils.cp_r(source, destination, :verbose => true) end directory = File.dirname(__FILE__) namespace :flutie do desc 'install mabtie stylesheets into app/assets directory' task :install => :environment do # Copy the flutie stylesheets into rails_root/app/assets/mabtie copy_files("../../app/assets/stylesheets", "/app/assets/mabtie", directory) # Copy the images copy_files("../../app/assets/images", "/app/assets/images") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mabtie-0.0.4.beta1 | lib/tasks/flutie.rake |