Skip to content

Commit d13cf91

Browse files
committed
faust-mode: improve license chooser
Some of them where incorrect or depreciated. See https://spdx.org/licenses/
1 parent fe40030 commit d13cf91

File tree

2 files changed

+38
-14
lines changed

2 files changed

+38
-14
lines changed

faust-mode/declarelicense

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,25 @@
44
# --
55
declare license "${1:$$
66
(yas-choose-value '(
7-
"AGPLv3"
8-
"Apache"
9-
"BSD 2-clause"
10-
"BSD 3-clause"
11-
"GPLv2"
12-
"GPLv3"
13-
"LGPLv3"
7+
"AGPL-3.0-only"
8+
"AGPL-3.0-or-later"
9+
"Apache-2.0"
10+
"BSD-2-Clause"
11+
"BSD-3-Clause"
12+
"CC-BY-4.0"
13+
"CC0-1.0"
14+
"EPL-2.0"
15+
"GPL-2.0-only"
16+
"GPL-2.0-or-later"
17+
"GPL-3.0-only"
18+
"GPL-3.0-or-later"
19+
"ISC"
20+
"LGPL-2.1-only"
21+
"LGPL-2.1-or-later"
22+
"LGPL-3.0-only"
23+
"LGPL-3.0-or-later"
1424
"MIT"
25+
"MPL-2.0"
26+
"Unlicense"
1527
))}";
1628
$0

faust-mode/header

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,25 @@ declare version "${2:0.1}";
77
declare author "$3";
88
declare license "${4:$$
99
(yas-choose-value '(
10-
"AGPLv3"
11-
"Apache"
12-
"BSD 2-clause"
13-
"BSD 3-clause"
14-
"GPLv2"
15-
"GPLv3"
16-
"LGPLv3"
10+
"AGPL-3.0-only"
11+
"AGPL-3.0-or-later"
12+
"Apache-2.0"
13+
"BSD-2-Clause"
14+
"BSD-3-Clause"
15+
"CC-BY-4.0"
16+
"CC0-1.0"
17+
"EPL-2.0"
18+
"GPL-2.0-only"
19+
"GPL-2.0-or-later"
20+
"GPL-3.0-only"
21+
"GPL-3.0-or-later"
22+
"ISC"
23+
"LGPL-2.1-only"
24+
"LGPL-2.1-or-later"
25+
"LGPL-3.0-only"
26+
"LGPL-3.0-or-later"
1727
"MIT"
28+
"MPL-2.0"
29+
"Unlicense"
1830
))}";
1931
$0

0 commit comments

Comments
 (0)