Skip to content

Commit

Permalink
Integrate with Copier
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Feb 11, 2024
1 parent 41f876a commit 0c5a98b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .tools/copier-answers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
_commit: 7d6f4ceea
_src_path: gh:oprypin/py-project-template
copyright_date: '2020'
mkdocs: false
mkdocs_install_self: false
project_description: An MkDocs extension to generate documentation for Click command line applications
project_name: mkdocs-click
pytest: true
python_distribution_name: mkdocs-click
python_source_path: mkdocs_click
repository_name: mkdocs/mkdocs-redirects
script_test: true
6 changes: 6 additions & 0 deletions .tools/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -e

cd "$(dirname "$0")/.."

mkdocs build -q --strict -f example/mkdocs.yml
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ dependencies = [
[tool.hatch.envs.test.scripts]
test = [
"pytest -q",
"mkdocs build -q --strict -f example/mkdocs.yml",
"bash .tools/test.sh",
]

[tool.hatch.envs.types]
Expand Down

0 comments on commit 0c5a98b

Please sign in to comment.