mimosa-copy

A generic copy 'compiler' for Mimosa

mimosa-copy

This is a Mimosa file copying "compiler". It copies files from a Mimosa project's source directory to its output directory.

For more information regarding Mimosa, see http://mimosa.io.

Some files, for instance CoffeeScript, have specific compilers that are responsible for transforming input text (the watch.sourceDir in mimosa-config) to output text (the watch.compiledDir in mimosa-config).

This is a generic file copier for the Mimosa build tool serves as the "compiler" for files that do not need transformation.

copy: {
  extensions:
    ["js",  "css", "png", "jpg",
     "jpeg","gif", "html","php",
     "eot", "svg", "ttf", "woff",
     "otf", "yaml","kml", "ico",
     "htc", "htm", "json","txt",
     "xml", "xsd", "map", "md",
     "mp4", "apng", "mng", "phtml",
     "volt"],
  exclude:[]
}

The extensions of files to copy from sourceDir to compiledDir. If you find yourself editing this list, consider filing an issue to get your extension added to the defaults.

Used to match files that should not be copied but that you might still want processed. String paths can be absolute or relative to the watch.sourceDir. Regexes are applied to the entire path.