Sha256: 8abda09238cddfbed0c81b89458759d2cad7f2995916acabd2653ecefb024f4f
Contents?: true
Size: 437 Bytes
Versions: 4
Compression:
Stored size: 437 Bytes
Contents
class PapermillAssetsGenerator < Rails::Generator::Base def initialize(args, options = {}) end def manifest puts "Moving papermill assets to your public directory..." FileUtils.rm_rf("#{File.join(RAILS_ROOT)}/public/papermill/") FileUtils.cp_r( Dir[File.join(File.dirname(__FILE__), '../../public')], File.join(RAILS_ROOT) ) puts "Done! Check public/papermill/ for result." exit end end
Version data entries
4 entries across 4 versions & 1 rubygems