lukabor 2517b1fb43 refactor(skills): extract containerize-project from build-* scaffolds
- 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>
2026-06-11 12:49:48 +02:00

43 lines
1.8 KiB
Smarty

# <package-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.
# ── Documentation ───────────────────────────────────────────────────────
document:
docker compose run --rm --no-deps dev Rscript -e "devtools::document()"
# ── Linting & Formatting ────────────────────────────────────────────────
lint:
docker compose run --rm --no-deps dev Rscript -e "lintr::lint_package()"
style:
docker compose run --rm --no-deps dev Rscript -e "styler::style_pkg()"
style-check:
docker compose run --rm --no-deps dev Rscript \
-e "styler::style_pkg(dry = 'on')"
# ── Testing ─────────────────────────────────────────────────────────────
test:
docker compose run --rm --no-deps dev Rscript -e "devtools::test()"
test-verbose:
docker compose run --rm --no-deps dev Rscript \
-e "devtools::test(reporter = 'progress')"
# ── Package checks ──────────────────────────────────────────────────────
check:
docker compose run --rm dev Rscript -e "devtools::check()"
# ── Combined ────────────────────────────────────────────────────────────
check-fast: lint style-check test
fix-and-check: style document check