Mix.Task.Compile.Exref
Mix integration of xref to check correctness of function calls after compilation, inspired by a post by @elbrujohalcon in inaka's blog. Constantly running xref makes you look smarter (by suppressing stupid mistakes)!
Usage
Add
:exrefto your list of dependencies inmix.exs.$ mix deps.getOverwrite
compilersofproject/0in yourmix.exsto runexrefevery time you compile your project:def project do [ ... compilers: Mix.compilers ++ [:exref], ... ] end