File: header

package info (click to toggle)
yasnippet-snippets 1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,328 kB
  • sloc: lisp: 127; sh: 13; ada: 5; makefile: 2; python: 2
file content (32 lines) | stat: -rw-r--r-- 631 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- mode: snippet -*-
# name: header
# key: he
# --
declare name "$1";
declare version "${2:0.1}";
declare author "$3";
declare license "${4:$$
  (yas-choose-value '(
    "AGPL-3.0-only"
    "AGPL-3.0-or-later"
    "Apache-2.0"
    "BSD-2-Clause"
    "BSD-3-Clause"
    "CC-BY-4.0"
    "CC0-1.0"
    "EPL-2.0"
    "GPL-2.0-only"
    "GPL-2.0-or-later"
    "GPL-3.0-only"
    "GPL-3.0-or-later"
    "ISC"
    "LGPL-2.1-only"
    "LGPL-2.1-or-later"
    "LGPL-3.0-only"
    "LGPL-3.0-or-later"
    "MIT"
    "MPL-2.0"
    "Unlicense"
  ))}";
declare copyright "${5:starting year} - ${6:`(format-time-string "%Y")`$0}, ${7:$3}";
$0