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()
]
end
No option is available now.
Default environment variables
There are also several default environment variables set:
MIX_TARGET
MIX_ENV
MIX_BUILD_PATH
- same asMix.Project.build_path/0
MIX_APP_PATH
- same asMix.Project.app_path/0
MIX_COMPILE_PATH
- same asMix.Project.compile_path/0
MIX_CONSOLIDATION_PATH
- same asMix.Project.consolidation_path/0
MIX_DEPS_PATH
- same asMix.Project.deps_path/0
MIX_MANIFEST_PATH
- same asMix.Project.manifest_path/0
ERL_EI_LIBDIR
ERL_EI_INCLUDE_DIR
ERTS_INCLUDE_DIR
ERL_INTERFACE_LIB_DIR
ERL_INTERFACE_INCLUDE_DIR