View Source mix compile.ex_task (ExTask v0.3.0)
Runs Task, a task runner / build tool, in the current project.
This task installs Task, and runs task in the current project;
any output coming from task is printed in real-time on stdout.
Configuration
This compiler can be configured through the return value of the project/0 function in mix.exs;
for example:
def project() do
[
app: :myapp,
compilers: [:ex_task] ++ Mix.compilers,
deps: deps()
]
endNo option is available now.
Default environment variables
There are also several default environment variables set:
MIX_TARGETMIX_ENVMIX_BUILD_PATH- same asMix.Project.build_path/0MIX_APP_PATH- same asMix.Project.app_path/0MIX_COMPILE_PATH- same asMix.Project.compile_path/0MIX_CONSOLIDATION_PATH- same asMix.Project.consolidation_path/0MIX_DEPS_PATH- same asMix.Project.deps_path/0MIX_MANIFEST_PATH- same asMix.Project.manifest_path/0ERL_EI_LIBDIRERL_EI_INCLUDE_DIRERTS_INCLUDE_DIRERL_INTERFACE_LIB_DIRERL_INTERFACE_INCLUDE_DIR