File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 22_ignore
33bin /
44dev /
5+ _temp /
56
67# Temporary files
78* .tmp
Original file line number Diff line number Diff line change 22 just --list --unsorted
33
44# Run all build-related recipes in the justfile
5- run-all : install-deps format-python check-python check-spelling check-commits
5+ run-all : install-deps format-python check-python check-spelling check-commits test
66
77# Install the pre-commit hooks
88install-precommit :
@@ -41,3 +41,24 @@ check-commits:
4141# Check for spelling errors in files
4242check-spelling :
4343 uv run typos
44+
45+ test :
46+ #!/ bin/ zsh
47+ temp_dir=" _temp/test-data-package"
48+ rm -rf $temp_dir
49+ mkdir -p $temp_dir
50+ # vcs-ref means the current commit/head, not a tag.
51+ # `.` means the current directory contains the template.
52+ uvx copier copy --vcs-ref=HEAD . $temp_dir \
53+ - -defaults \
54+ - -data package_abbrev= " test-data-package" \
55+ - -data package_github=" first-last/test-data-package" \
56+ - -data author_given_name=" First" \
57+ - -data author_family_name=" Last" \
58+ - -data author_email=
" [email protected] " 59+ # TODO: Other checks/tests?
60+
61+ cleanup :
62+ #!/ bin/ zsh
63+ temp_dir=$(" _temp/test-data-package" ))
64+ rm -rf $temp_dir
You can’t perform that action at this time.
0 commit comments