.PHONY: install dev serve test lint fmt up down golden-update install: uv venv --python 3.12 || true . .venv/bin/activate && uv pip install -e ".[dev]" && playwright install chromium serve: . .venv/bin/activate && trawls serve dev: . .venv/bin/activate && TRAWLS_LOG_LEVEL=DEBUG trawls serve --reload test: . .venv/bin/activate && pytest -q lint: . .venv/bin/activate && ruff check . && ruff format --check . fmt: . .venv/bin/activate && ruff format . && ruff check --fix . up: docker compose up -d --build down: docker compose down golden-update: . .venv/bin/activate && TRAWLS_GOLDEN_UPDATE=1 pytest -q tests/unit/test_html_to_md.py