mix verified_translations.unused (verified_translations v0.1.1)

Copy Markdown View Source

Compiles the project and lists translation files that no ~t refers to.

mix verified_translations.unused           # list, exit 1 if any (for CI)
mix verified_translations.unused --delete  # delete them

In an umbrella project it runs in each application. Applications sharing one translation directory are not supported by --delete.