lice.el
provides following features:
- License template management.
- File header insertion.
Usage is very easy, put lice.el
in your emacs system, and open a new
file, and run:
M-x lice
Then, lice.el
tell to use which license (default is gpl-3.0). You
can select license on minibuffer completion.
When you select license, and enter the RET
, license and copyright is
putted into a text.
You can use .dir-locals.el
for your project. Put .dir-locals.el
in
your project root directory and write follows:
((nil
(lice:default-license . "mit")))
That means use `mit' for default license template.