zotonic_filehandler_mappers (zotonic_filehandler v1.0.0-rc.13)

Handle changed files

Link to this section Summary

Functions

coffee files from priv/lib-src/js/.../foo.coffee -> priv/lib/js/.../foo.js
LESS files from priv/lib-src/css/.../foo.less -> priv/lib/css/.../foo.css Check for a 'config' file on the path, if present then that file is used for the compilation of the less files.
SCSS / SASS files from priv/lib-src/css/.../foo.sass -> priv/lib/css/.../foo.css
Run the build command in a lib-src directory

Link to this section Functions

Link to this function

compile_coffee(Application, SrcPath)

coffee files from priv/lib-src/js/.../foo.coffee -> priv/lib/js/.../foo.js
Link to this function

compile_less(Application, SrcPath)

LESS files from priv/lib-src/css/.../foo.less -> priv/lib/css/.../foo.css Check for a 'config' file on the path, if present then that file is used for the compilation of the less files.
Link to this function

compile_sass(Application, SrcPath)

SCSS / SASS files from priv/lib-src/css/.../foo.sass -> priv/lib/css/.../foo.css
Link to this function

compile_yecc(Filename)

-spec mappers() -> [function()].
Link to this function

run_build(Application, _)

Run the build command in a lib-src directory