Copyable Content
Some content does not need to be transformed by a plugin, but can simply be copied. The copy plugin can be used for this purpose. The following attributes are available:
patterns | List of file patterns of files to copy. |
excludes | List of file patterns to exclude. |
matching | matching method, default is "glob", specify "re" to use regular expression matching. |
Example: copy all css files to the target directory:
cssfiles = plugin("copy") cssfiles.patterns = [ "*.css" ] cssfiles.excludes = [ ".svn/*" ]