Compiles Elixir source files.
Elixir is smart enough to recompile only files that have changed and their dependencies. This means if
lib/a.ex is invoking a function defined over
lib/a.ex is also recompiled.
Note it is important to recompile a file’s dependencies as there are often compile time dependencies between them.
--force- forces compilation regardless of modification times
--no-docs) - attaches (or not) documentation to compiled modules
--no-debug-info) - attaches (or not) debug info to compiled modules
--ignore-module-conflict- does not emit warnings if a module was previously defined
--warnings-as-errors- treats warnings in the current project as errors and return a non-zero exit code
--long-compilation-threshold N- sets the “long compilation” threshold (in seconds) to
N(see the docs for
--all-warnings- prints warnings even from files that do not need to be recompiled
:elixirc_paths - directories to find source files. Defaults to
:elixirc_options - compilation options that apply to Elixir’s compiler, they are:
:debug_info. By default, uses the same defaults as
elixirc and they can always be overridden from the command line according to the options above.
Cleans up compilation artifacts
Returns Elixir manifests
Runs this task
Cleans up compilation artifacts.
Returns Elixir manifests.
run(OptionParser.argv) :: :ok | :noop
Runs this task.
© 2012–2017 Plataformatec
Licensed under the Apache License, Version 2.0.