Mix v1.7.3 mix compile.xref View Source

Performs remote dispatch checking.

It uses 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 option.

Command line options

  • --force - forces checking regardless of modification time
  • --warnings-as-errors - treats warnings as errors and returns a non-zero exit code

Link to this section Summary

Functions

Cleans up xref manifest

Returns xref manifests

Runs this task

Link to this section Functions

Cleans up xref manifest.

Returns xref manifests.

Runs this task.