Skip to content

Commit 46dbf68

Browse files
committed
feat(copier): exclude src and tests directories during update operations, INPRO-2680
1 parent 75b701a commit 46dbf68

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

copier.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
_subdirectory: template
2+
_exclude:
3+
- "{% if _copier_operation == 'update' -%}src/{% endif %}"
4+
- "{% if _copier_operation == 'update' -%}tests/{% endif %}"
25

36
project_type:
47
type: str

0 commit comments

Comments
 (0)