Skip to content

dbashford/mimosa-copy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

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.

Overview

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.

Default Config

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:[]
}

extensions array of strings

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.

exclude array of regex/string

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.

About

A file copying compiler for Mimosa

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •