mirror of
https://github.com/simple-login/app.git
synced 2025-09-12 01:24:20 +08:00
build: specify rye artifacts
This commit is contained in:
parent
59f44901b4
commit
030f4fd1f4
2 changed files with 4 additions and 3 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -5,8 +5,6 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
|
@ -140,5 +140,8 @@ build-backend = "hatchling.build"
|
||||||
[tool.hatch.metadata]
|
[tool.hatch.metadata]
|
||||||
allow-direct-references = true
|
allow-direct-references = true
|
||||||
|
|
||||||
|
[tool.hatch.build.targets.sdist]
|
||||||
|
include = ["app", "local_data", "migrations", "templates"]
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["src/tmp"]
|
packages = ["app", "local_data", "migrations", "templates"]
|
Loading…
Add table
Reference in a new issue