2025-12-09 21:24:55 +01:00
|
|
|
default:
|
|
|
|
|
@just --list
|
|
|
|
|
|
2025-12-09 21:26:27 +01:00
|
|
|
setup:
|
|
|
|
|
uv sync
|
|
|
|
|
|
2025-12-09 21:25:44 +01:00
|
|
|
# run Textual's console
|
|
|
|
|
console:
|
|
|
|
|
uv run textual console
|
|
|
|
|
|
|
|
|
|
# run app with logs going to console
|
|
|
|
|
run-dev:
|
|
|
|
|
uv run textual run --dev src/teilchensammler_cli/__init__.py
|
|
|
|
|
|
2025-12-26 18:16:07 +01:00
|
|
|
run:
|
|
|
|
|
uv run python -m teilchensammler_cli.main
|
|
|
|
|
|
2025-12-09 23:39:01 +01:00
|
|
|
uv_export_options := "--frozen --format requirements.txt --quiet --no-install-project"
|
2025-12-05 17:07:19 +01:00
|
|
|
exports-deps:
|
|
|
|
|
uv export {{ uv_export_options }} --output-file requirements.txt
|
|
|
|
|
uv export {{ uv_export_options }} --only-dev --output-file requirements.dev.txt
|
|
|
|
|
|
2025-12-09 21:24:08 +01:00
|
|
|
test:
|
|
|
|
|
uv run pytest tests.py
|
|
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
|
uv run pytest tests.py --cov=src/ --cov-report term --cov-report xml --cov-report html --cov-config pyproject.toml
|
|
|
|
|
|
2025-12-05 17:07:19 +01:00
|
|
|
lint-python:
|
|
|
|
|
uv run ruff check .
|
|
|
|
|
|
|
|
|
|
lint-markdown:
|
|
|
|
|
markdownlint-cli2 .
|
|
|
|
|
|
|
|
|
|
lint: lint-python lint-markdown
|
2025-12-09 21:26:27 +01:00
|
|
|
|
|
|
|
|
# remove artefacts from dist/
|
|
|
|
|
clean:
|
|
|
|
|
rm dist/*.whl dist/*.tar.gz
|
|
|
|
|
|
|
|
|
|
# ci:
|
|
|
|
|
# woodpecker-cli exec "whatever"
|