Sha256: 590d203427d52ce78aa1ff4f52c3de90212c33cd5d244127b95ecdad667bdbaa

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

require 'fileutils'

desc "Copy emojione to the Rails `public/images/emojione` directory"
task :emojione do
  require 'emojione-rails'

  target = "#{Rake.original_dir}/public/images"
  FileUtils.mkdir_p(target)
  FileUtils.cp_r File.join(Emojione.images_path,'emojione'), target, :preserve => true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emojione-rails-0.0.7 lib/tasks/emojione.rake
emojione-rails-0.0.6 lib/tasks/emojione.rake
emojione-rails-0.0.5 lib/tasks/emojione.rake