CheckModuleAttrs
This library provided mix task check_module_attrs which will check for module attributes being set to values from config/releases.exs. This will fail in production and must be avoided.
Installation
If available in Hex, the package can be installed
by adding check_module_attrs to your list of dependencies in mix.exs:
def deps do
[
{:check_module_attrs, "~> 0.1.0"}
]
endUsage:
$ mix check_module_attrsThis tasks should be also run on CI - it will exit code 0, if everything is correct and 1 otherwise.
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/check_module_attrs.