/Elixir 1.9

mix compile.xref

Performs remote dispatch checking.

It uses mix xref to check if any remote call does not exist or is deprecated, and emits warnings in such cases. This task 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

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.