Module: NeetoCommonsBackend::Initializers::PostCompilation
- Defined in:
- lib/neeto_commons_backend/initializers/post_compilation.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/neeto_commons_backend/initializers/post_compilation.rb', line 8 def self.run if Rake::Task.task_defined?("assets:clean") Rake::Task["assets:clean"].enhance { Rake::Task["assets:post_compilation"].invoke } else Rake::Task.define_task("assets:clean") { Rake::Task["assets:post_compilation"].invoke } end end |