module Buildr::Assets::ProjectExtension

Public Instance Methods

assets() click to toggle source

Access the asset task

# File lib/buildr/core/assets.rb, line 73
def assets
  if @assets.nil?
    @assets = AssetsTask.define_task(project._(:target, :main, :webapp) => [])
    @assets.project = self
    project.task('assets').enhance([@assets])
    project.build.enhance([@assets])
  end
  @assets
end