Sha256: f4513617e09b46f226ef7334918e7482c7db43e089dc6de110f0a493fdab69f1

Contents?: true

Size: 333 Bytes

Versions: 27

Compression:

Stored size: 333 Bytes

Contents

namespace :kindeditor do
  desc "copy kindeditor into public folder"
  task :assets do
    puts "copying kindeditor into public/assets folder ..."
    dest_path = "#{Rails.root}/public/assets"
    FileUtils.mkdir_p dest_path
    FileUtils.cp_r "#{RailsKindeditor.root_path}/vendor/assets/javascripts/kindeditor/", dest_path
  end
end

Version data entries

27 entries across 27 versions & 6 rubygems

Version Path
rails_editor_liu-0.5.1 lib/tasks/assets.rake
rails_editor_liu-0.5.0 lib/tasks/assets.rake
rails_kindeditor-0.5.1 lib/tasks/assets.rake
rails_kindeditor_video-0.5.2 lib/tasks/assets.rake
rails_kindeditor_video-0.5.1 lib/tasks/assets.rake
rails_kindeditor-0.5.0 lib/tasks/assets.rake
rails_kindeditor-0.4.7 lib/tasks/assets.rake
rails_kindeditor-0.4.6 lib/tasks/assets.rake
rails_kindeditor-plus-0.4.5 lib/tasks/assets.rake
rails_kindeditor_upyun-0.4.5 lib/tasks/assets.rake
rails_kindeditor-0.4.5 lib/tasks/assets.rake
rails_kindeditor-0.4.4 lib/tasks/assets.rake
rails_kindeditor-0.4.2 lib/tasks/assets.rake
rails_kindeditor-0.4.1 lib/tasks/assets.rake
rails_kindeditor-0.4.0 lib/tasks/assets.rake
loyal_rails_kindeditor-0.0.9 lib/tasks/assets.rake
loyal_rails_kindeditor-0.0.8 lib/tasks/assets.rake
loyal_rails_kindeditor-0.0.7 lib/tasks/assets.rake
loyal_rails_kindeditor-0.0.6 lib/tasks/assets.rake
loyal_rails_kindeditor-0.0.5 lib/tasks/assets.rake