Skip to content

Commit a13625e

Browse files
authored
Skip example enterely to minimise false positives in template updates (#22)
* Skip example entirely to minimise false positives in template updates, except for the `Snakefile`.
1 parent f93fbe7 commit a13625e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

copier.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ _exclude:
1212
- ".DS_Store"
1313
- ".svn"
1414
# Do not add the dummy example when updating
15+
- "{% if _copier_operation == 'update' -%}workflow/envs/shell.yaml{% endif %}"
16+
- "{% if _copier_operation == 'update' -%}workflow/internal/config.schema.yaml{% endif %}"
17+
- "{% if _copier_operation == 'update' -%}workflow/internal/settings.yaml{% endif %}"
18+
- "{% if _copier_operation == 'update' -%}workflow/rules/automatic.smk{% endif %}"
1519
- "{% if _copier_operation == 'update' -%}workflow/rules/dummy.smk{% endif %}"
1620
- "{% if _copier_operation == 'update' -%}workflow/scripts/dummy_script.py{% endif %}"
1721
_skip_if_exists:

0 commit comments

Comments
 (0)