Skip to content

Commit

Permalink
improve directory names (#9)
Browse files Browse the repository at this point in the history
improve template directory names
  • Loading branch information
danb27 authored Apr 23, 2024
1 parent f5df214 commit fca78ec
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-cruft-id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Update .cruft.json with latest commit ID
run: |
CRUFT_FILE="./{{ cookiecutter.package_slug }}/.cruft.json"
CRUFT_FILE="./{{ cookiecutter.package_name }}/.cruft.json"
# Update the commit ID in the .cruft.json file
jq --arg commit "$GITHUB_SHA" '.commit = $commit' "$CRUFT_FILE" > temp.json && mv temp.json "$CRUFT_FILE"
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ __pycache__/
.coverage
.pytest_cache/

{{ cookiecutter.package_slug }}/poetry.lock
{{ cookiecutter.package_name }}/poetry.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/danb27/python-package-template",
"commit": "dd31d6413fa349569a50d5c4140286f94ecc5f4f",
"commit": "9ce10fd7e12e6c1d66ce1880b4509aa591160271",
"context": {
"cookiecutter": {
"package_name": "{{ cookiecutter.package_name }}",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Example module for the example_package."""
"""Example module for the {{ cookiecutter.package_name }}."""


def bar() -> int:
Expand Down

0 comments on commit fca78ec

Please sign in to comment.