29 lines
681 B
Makefile
29 lines
681 B
Makefile
default:
|
|
@just --list
|
|
|
|
# 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
|
|
|
|
uv_export_options := "--format requirements.txt --quiet"
|
|
exports-deps:
|
|
uv export {{ uv_export_options }} --output-file requirements.txt
|
|
uv export {{ uv_export_options }} --only-dev --output-file requirements.dev.txt
|
|
|
|
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
|
|
|
|
lint-python:
|
|
uv run ruff check .
|
|
|
|
lint-markdown:
|
|
markdownlint-cli2 .
|
|
|
|
lint: lint-python lint-markdown
|