Utility to insert license header in each Elixir file using SPDX specification.
A mix task is available to insert header or to verify (useful for CI actions)
$ mix insert_license --license mit
$ mix insert_license --verify --license mit
Here, the --license
option takes one of these values mit, agpl, gpl, lgpl, mozilla, apache, boost
Install from Hex, the package can be installed
by adding ex_license
to your list of dependencies in mix.exs
:
def deps do
[
{:ex_license, "~> 0.1.0"}
]
end
It supports the following license
Documentation published on HexDocs.