Skip to content

Commit e3b038a

Browse files
authored
fix: 🐛 post-copy tasks should run in sequence, not be dependent (#134)
# Description The use of `&&` means "only run next if the current succeeds. But we don't really want that, we want them to run, regardless of if the previous ran. This PR needs a quick review. ## Checklist - [x] Ran `just run-all`
1 parent 56879ad commit e3b038a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

copier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ _subdirectory: template
33
# Post-copy commands:
44
_tasks:
55
# Only run these commands when copying the template
6-
- command: "git init -b main && uv add --dev pre-commit commitizen ruff typos && uv add polars seedcase-sprout"
6+
- command: "git init -b main; uv add --dev pre-commit commitizen ruff typos; uv add polars seedcase-sprout"
77
when: "{{ _copier_operation == 'copy' }}"
88

99
# Message to show after generating or regenerating the project successfully

0 commit comments

Comments
 (0)