lib/yarrow/assets/pipeline.rb
##
# Compiles an asset manifest and processed output files from the given input bundles.
# Also generates a manifest linking each output bundle to its given input name.
#
# @param bundles [Array<String>]
Compiles an asset manifest and processed output files from the given input bundles.
Also generates a manifest linking each output bundle to its given input name.
Compiles an asset manifest and processed output files from the given input bundles . Also generates a manifest linking each output bundle to its given input name .
def compile(bundles = [])
        bundles.each do |bundle|          
          if bundle.include? '*'
            Dir["#{@input_dir}/#{bundle}"].each do |asset|
              logger.info "Compiling: #{asset}"
              manifest.compile(File.basename(asset))
            end
          else
            logger.info "Compiling: #{bundle}"
            manifest.compile(bundle)
          end
        end
      end
def compile ( bundles = [ ] ) bundles . each do | bundle | if bundle . include? '*' Dir [ "#{@input_dir}/#{bundle}" ] . each do | asset | logger . info "Compiling: #{asset}" manifest . compile ( File . basename ( asset ) ) end else logger . info "Compiling: #{bundle}" manifest . compile ( bundle ) end end end
Compiles an asset manifest and processed output files from the given input bundles.
Compiles an asset manifest and processed output files from the given input bundles .
bundles
<not_specific>
<not_specific>
None