class Buildr::Assets::AssetsTask
The base assets task that is responsible for collecting all of the assets into a single output directory
Attributes
project[R]
Public Instance Methods
paths()
click to toggle source
The list of input paths to add to output directory
# File lib/buildr/core/assets.rb, line 31 def paths unless @paths @paths = [] @paths << project._(:source, :main, :assets) if File.exist?(project._(:source, :main, :assets)) end @paths end
project=(project)
click to toggle source
# File lib/buildr/core/assets.rb, line 26 def project=(project) @project = project end
Private Instance Methods
out_of_date?(stamp)
click to toggle source
Calls superclass method
# File lib/buildr/core/assets.rb, line 60 def out_of_date?(stamp) super || self.paths.any? { |n| n.respond_to?(:needed?) && n.needed? } end