feature/file-templates: add+polish license file templates

This commit is contained in:
Henrik Lissner 2018-02-17 18:39:54 -05:00
parent 70c8e3cb52
commit aa216af4d6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
13 changed files with 1249 additions and 301 deletions

View file

@ -1,17 +1,9 @@
# -*- mode: snippet -*-
# name: BSD 2-clause License
# name: 2-clause BSD License
# uuid: __license-bsd2
# group: Licenses
# --
${1:<OWNER>}
${2:<YEAR>}
In the original BSD license, the occurrence of "copyright holder" in the 3rd
clause read "ORGANIZATION", placeholder for "University of California". In the
original BSD license, both occurrences of the phrase "COPYRIGHT HOLDERS AND
CONTRIBUTORS" in the disclaimer read "REGENTS AND CONTRIBUTORS".
Here is the license template:
Copyright (c) $2, $1
Copyright (c) ${1:`(format-time-string "%Y")`} ${2:`user-full-name`}
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,