zotonic_filehandler_compile (zotonic_filehandler v1.0.0-rc.11)

Compilation of Zotonic files

Link to this section Summary

Functions

Compile all files
Check if the application is present in the current code path
Load all changed beam files, return list of reloaded modules.
Load a specific beam file, reattach any observers etc.
Compile all files. Called from zotonic-compile script

Link to this section Functions

-spec all() -> ok.
Compile all files
Link to this function

all_task(OptPid)

Link to this function

code_path_check(AppFilename)

-spec code_path_check(binary()) -> boolean().
Check if the application is present in the current code path
Link to this function

compile_options(File)

-spec compile_options(file:filename_all()) -> {ok, list()} | false.
-spec ld() -> [code:load_ret()].
Load all changed beam files, return list of reloaded modules.
-spec ld(module()) -> code:load_ret().
Load a specific beam file, reattach any observers etc.
Link to this function

recompile(File)

-spec recompile(file:filename_all()) -> ok.
Link to this function

recompile_task(File)

Link to this function

run_cmd(Cmd, RunOpts, Opts)

Link to this function

run_cmd_task(Cmd, RunOpts, Opts)

Link to this function

run_cmd_task_buffalo(Cmd, RunOpts, Opts)

Compile all files. Called from zotonic-compile script