ExLicense
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
Installation
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"}
]
endAvailable License
It supports the following license
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_license.