Mix v1.8.0 mix compile.xref View Source
Performs remote dispatch checking.
mix xref to check if any remote call does not exist or is
deprecated, and emits a warnings in such cases. This tasks does not show
deprecated local calls (a call to a deprecated function or macro in the
same module) nor calls to deprecated functionality in Elixir itself.
When this task runs, it will check if the source code has been modified.
If it has changed,
mix xref will be run to check remote dispatches. You
can force checking regardless of modification time by passing the
--force- forces checking regardless of modification time
--warnings-as-errors- treats warnings as errors and returns a non-zero exit code