Mix.Task.Compile.Exref
Mix integration of xref. Constantly running xref makes you look smarter (by suppressing stupid mistakes)!
Usage
Add
:exrefto your list of dependencies inmix.exs.$ mix deps.get$ mix compile.exrefchecks all function calls in your mix project.If you want to run
exrefevery time you compile your mix project, overwritecompilersofproject/0in yourmix.exs.def project do [ ... compilers: Mix.compilers ++ [:exref], ... ] end