-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopier-settings.yml
52 lines (37 loc) · 1.07 KB
/
copier-settings.yml
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
43
44
45
46
47
48
49
50
51
52
_answers_file: .pypackage-builder-answers.yml
_exclude:
- includes
- test
_templates_suffix: .jinja
_subdirectory: PACKAGE_TEMPLATE
_tasks:
# {{ pixi_install_envs }} is a list of strings
- >-
{% if git_init %}
echo "Initializing a git repository..." && git init
{% endif %}
- >-
{% if pixi_install %}
{% for env in pixi_install_envs %}
{% if env == 'default' %}
pixi install
{% else %}
pixi install -e {{ env }}
{% endif %}
{% endfor %}
{% endif %}
- >-
{% if git_init %}
git add . && git commit -m "Initial commit"
{% endif %}
_message_before_copy: |
Thanks for generating a project using our template.
You'll be asked a series of questions whose answers will be used to
generate a tailored project for you.
_message_after_copy: |
Your project "{{ project_name }}" has been created successfully!
Next steps:
1. Change directory to the project root:
$ cd {{ _copier_conf.dst_path }}
2. Enter the `dev` environment:
$ pixi shell -e dev