Module zotonic_filehandler_mappers

Handle changed files.

Copyright © 2014-2017 Arjan Scherpenisse

Authors: Arjan Scherpenisse (arjan@miraclethings.nl).

Description

Handle changed files

Function Index

compile_coffee/2coffee files from priv/lib-src/js/.../foo.coffee -> priv/lib/js/.../foo.js.
compile_less/2LESS 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.
compile_sass/2SCSS / SASS files from priv/lib-src/css/.../foo.sass -> priv/lib/css/.../foo.css.
compile_yecc/1
mappers/0
run_build/2Run the build command in a lib-src directory.

Function Details

compile_coffee/2

compile_coffee(Application, SrcPath) -> any()

coffee files from priv/lib-src/js/.../foo.coffee -> priv/lib/js/.../foo.js

compile_less/2

compile_less(Application, SrcPath) -> any()

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.

compile_sass/2

compile_sass(Application, SrcPath) -> any()

SCSS / SASS files from priv/lib-src/css/.../foo.sass -> priv/lib/css/.../foo.css

compile_yecc/1

compile_yecc(Filename) -> any()

mappers/0

mappers() -> [function()]

run_build/2

run_build(Application, X2) -> any()

Run the build command in a lib-src directory


Generated by EDoc