Skip to content

Commit c82f6d4

Browse files
authored
Fix omitted folders (#12)
* make file omission more lenient
1 parent b15f2e0 commit c82f6d4

1 file changed

Lines changed: 25 additions & 9 deletions

File tree

copier.yaml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,36 @@
11
# === copier settings ===
22
_min_copier_version: '9.4.1'
33
_subdirectory: template
4+
_exclude:
5+
# copier defaults
6+
- "copier.yaml"
7+
- "copier.yaml"
8+
- "~*"
9+
- "*.py[co]"
10+
- "__pycache__"
11+
- ".git"
12+
- ".DS_Store"
13+
- ".svn"
14+
# Do not add the dummy example when updating
15+
- "{% if _copier_operation == 'update' -%}workflow/rules/dummy.smk{% endif %}"
16+
- "{% if _copier_operation == 'update' -%}workflow/scripts/dummy_script.py{% endif %}"
417
_skip_if_exists:
518
# Respect user changes, except for a few standard files.
6-
- config/*
7-
- "!config/README.md" # Necessary for the snakemake workflow catalog
8-
- docs/*
9-
- resources/*
10-
- results/*
11-
- tests/*
12-
- "!tests/clio_test.py" # Standard integration tests
13-
- workflow/
14-
- "!workflow/profiles" # Profiles should be equal across projects
19+
- config/**
20+
- docs/**
21+
- resources/**
22+
- results/**
23+
- tests/**
24+
- workflow/**
25+
- .gitignore
26+
- .readthedocs.yaml
1527
- AUTHORS
1628
- CITATION.cff
1729
- INTERFACE.yaml
30+
- mkdocs.yaml
31+
- pixi.toml
32+
- "!config/README.md"
33+
- "!tests/clio_test.py"
1834
_templates_suffix: .jinja
1935
_answers_file: .copier-answers.yml
2036

0 commit comments

Comments
 (0)