-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopier.yml
More file actions
42 lines (40 loc) · 1.11 KB
/
copier.yml
File metadata and controls
42 lines (40 loc) · 1.11 KB
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
33
34
35
36
37
38
39
40
41
42
# questions
project_name:
type: str
help: What is your project name? (must be a valid Python module name)
author:
type: str
default: "felix@42sol.eu"
help: What is the authors name?
organization:
type: str
default: "42sol-eu"
help: What is the organization name? used for the github repository?"
year:
type: int
default: 2025
help: What year are we in?
main_version:
type: str
default: "0"
help: What is the main version (start with 0, 1 or the year)?
tag_line:
type: str
default: "TODO: add the cool tag line"
help: What is the tag line? (a short description of the project)
os:
type: str
choices:
- linux
- macos
- windows
default: "windows"
help: what is your operating system?
# investigate about `_templates_suffix: ""`
_tasks:
# OS-specific task (supported values are "linux", "macos", "windows" and `None`)
#- command: rm "{{ project_name }}/README.md"
# when: "{{ os in ['linux', 'macos'] }}"
#- command: rm "{{ project_name }}\\README.md"
# when: "{{ os == 'windows' }}"
- command: git init