- refactor(scaffold): move Docker/compose templates and three-stage doc into new containerize-project skill; build-* skills delegate their Docker step - fix(scaffold): drop source mount from the production compose service - fix(scaffold): add .dockerignore templates so COPY . . excludes .git/.env/data - feat(scaffold): run production stages as non-root app user; pin uv install via COPY --from=ghcr.io/astral-sh/uv:0.7 - docs(README): list containerize-project and add-docker-secrets; remove the now-empty _concepts section Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
40 lines
1.5 KiB
Smarty
40 lines
1.5 KiB
Smarty
# <project-name> — task runner
|
|
# `just --list` for all recipes.
|
|
|
|
set dotenv-load := false
|
|
|
|
default:
|
|
@just --list
|
|
|
|
# Docker recipes (build-dev, up, down, …) are appended by
|
|
# /containerize-project from its justfile-docker.tpl.
|
|
|
|
# ── Linting & Formatting ────────────────────────────────────────────────
|
|
lint:
|
|
docker compose run --rm --no-deps dev ruff check src/ tests/
|
|
|
|
lint-fix:
|
|
docker compose run --rm --no-deps dev ruff check --fix src/ tests/
|
|
|
|
fmt-check:
|
|
docker compose run --rm --no-deps dev ruff format --check src/ tests/
|
|
|
|
fmt:
|
|
docker compose run --rm --no-deps dev ruff format src/ tests/
|
|
|
|
# ── Type Checking ───────────────────────────────────────────────────────
|
|
typecheck:
|
|
docker compose run --rm --no-deps dev ty check src/
|
|
|
|
# ── Testing ─────────────────────────────────────────────────────────────
|
|
test:
|
|
docker compose run --rm dev pytest
|
|
|
|
test-verbose:
|
|
docker compose run --rm dev pytest -v
|
|
|
|
# ── Combined ────────────────────────────────────────────────────────────
|
|
check: lint fmt-check typecheck test
|
|
|
|
fix-and-check: lint-fix fmt typecheck test
|