Sha256: 205399382d038e8623db28545b71dea5cc480071e938d3b6789be853e334a9a3
Contents?: true
Size: 510 Bytes
Versions: 10
Compression:
Stored size: 510 Bytes
Contents
# desc "Explaining what the task does" # task :baidu_ueditor_rails do # # Task goes here # end assets_task = Rake::Task.task_defined?('assets:precompile:primary') ? 'assets:precompile:primary' : 'assets:precompile' Rake::Task[assets_task].enhance do require "baidu_ueditor_rails/asset_installer" config = Rails.application.config target = File.join(Rails.public_path, config.assets.prefix) manifest = config.assets.manifest BaiduUeditorRails::AssetInstaller.new(target, manifest).install end
Version data entries
10 entries across 10 versions & 1 rubygems