Skip to content

Commit 1d08baf

Browse files
committed
fix license values
1 parent ae25b75 commit 1d08baf

9 files changed

Lines changed: 16 additions & 9 deletions

copier/questions/essential.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,18 @@ full_name:
2727
license:
2828
type: str
2929
choices:
30-
- "Apache-2.0"
31-
- "MIT license"
32-
- "BSD license"
33-
- "ISC license"
34-
- "GNU General Public License v3 or later"
35-
- "GNU Lesser General Public License v3 or later"
36-
- "Other (add your own license)"
37-
default: "Apache-2.0"
30+
Apache License, Version 2.0:
31+
value: Apachev2
32+
MIT license:
33+
value: MIT
34+
BSD license:
35+
value: BSD
36+
ISC license:
37+
value: ISC
38+
GNU General Public License v3 or later:
39+
value: GNUv3
40+
GNU Lesser General Public License v3 or later:
41+
value: GNULesserv3
42+
Other (add your own license):
43+
value: Other
44+
default: "Apachev2"

template/{% if license == 'Apache-2.0' %}LICENSE{% endif %}.jinja renamed to template/{% if license == 'Apachev2' %}LICENSE{% endif %}.jinja

File renamed without changes.

template/{% if license == 'BSD license' %}LICENSE{% endif %}.jinja renamed to template/{% if license == 'BSD' %}LICENSE{% endif %}.jinja

File renamed without changes.

template/{% if license == 'GNU Lesser General Public License v3 or later' %}LICENSE{% endif %}.jinja renamed to template/{% if license == 'GNULesserv3' %}LICENSE{% endif %}.jinja

File renamed without changes.

template/{% if license == 'GNU General Public License v3 or later' %}LICENSE{% endif %}.jinja renamed to template/{% if license == 'GNUv3' %}LICENSE{% endif %}.jinja

File renamed without changes.

template/{% if license == 'ISC license' %}LICENSE{% endif %}.jinja renamed to template/{% if license == 'ISC' %}LICENSE{% endif %}.jinja

File renamed without changes.

template/{% if license == 'MIT licence' %}LICENSE{% endif %}.jinja renamed to template/{% if license == 'MIT' %}LICENSE{% endif %}.jinja

File renamed without changes.

template/{% if license == 'Other (add your own license)' %}LICENSE{% endif %}.jinja

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add your own license

0 commit comments

Comments
 (0)