mirror of
https://github.com/rio-labs/rio.git
synced 2026-02-11 16:19:32 -06:00
fix build commands to support pip install from repo
This commit is contained in:
@@ -119,11 +119,9 @@ artifacts = ["rio/frontend files/*"]
|
||||
[tool.hatch.build.targets.sdist]
|
||||
artifacts = ["rio/frontend files/*"]
|
||||
|
||||
[[tool.hatch.build.targets.sdist.hooks.build-scripts.scripts]]
|
||||
[[tool.hatch.build.hooks.build-scripts.scripts]]
|
||||
commands = [
|
||||
"uv sync",
|
||||
"npm install",
|
||||
"uv run python scripts/build.py",
|
||||
"test -d .venv || (uv sync && npm install && uv run python scripts/build.py)",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
|
||||
Reference in New Issue
Block a user