Skip to content

Commit

Permalink
Properly define 'delphin' command on install (#387)
Browse files Browse the repository at this point in the history
* Add CI test for delphin command
* Use proper key in pyproject.toml
  • Loading branch information
goodmami committed Dec 20, 2023
1 parent 1bcc648 commit d0f1cfb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
run: pipx install hatch
- name: Check Command and Version
run: hatch run delphin -V
- name: Test
run: hatch run dev:test
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

### Unreleased

### Fixed

* Properly define `delphin` command in pyproject.toml ([#386])


## [v1.9.0]

**Release date: 2023-12-11**
Expand Down Expand Up @@ -1636,3 +1641,4 @@ information about changes, except for
[#378]: https://github.com/delph-in/pydelphin/issues/378
[#379]: https://github.com/delph-in/pydelphin/issues/379
[#383]: https://github.com/delph-in/pydelphin/issues/383
[#386]: https://github.com/delph-in/pydelphin/issues/386
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ repp = [
"regex"
]

[projects.scripts]
[project.scripts]
delphin = "delphin.main:main"

[project.urls]
Expand Down

0 comments on commit d0f1cfb

Please sign in to comment.