Skip to main content

justfile recipes

Canonical reference. Run just --list in the repo for the live list.

Setup​

CommandWhat it runs
just syncuv sync
just sync-frozenuv sync --group dev --frozen (matches the CI/CD pipeline)
just setup-hookspre-commit install (commit + commit-msg hooks)
just initApply template.repo.toml — reset versions, rebrand workspace
just init --owner acme --repo widget-cadCLI overrides instead of editing the TOML (all --* fields optional)
just init --no-sync-docsIntegration files only — skip README and docs markdown
just init-dry-runPreview just init without writing
just template-applyRe-apply template.repo.toml to README, docs, and integration files
just template-apply-integrationRe-apply identity to integration files only (skip README/docs)

Development​

CommandWhat it runs
just viewDisplay main.py in OCP CAD Viewer
just testuv run pytest (extra args: just test -v tests/test_sphere.py)
just test-unituv run pytest -m unit
just test-integrationuv run pytest -m integration
just test-renderuv run pytest -m render
just test-functionaluv run pytest -m functional
just test-vuv run pytest -v

Quality​

CommandWhat it runs
just lintruff check + format check + mypy + vulture
just formatuv run ruff format .
just qualitylint + test

MakerRepo​

CommandWhat it runs
just mr-artifactsList @artifact functions
just mr-generatorsList @customizable functions
just mr-export sphere /tmp/out stepExport one artifact
just mr-view sphereSend artifact to OCP CAD Viewer
just mr-export-generator sphere_generator /tmp/out '{"radius": 15}'Export with parameters

Export & render​

CommandWhat it runs
just export-smokeDiscover and export all artifacts as STEP and STL
just exportSTL + PNG release bundle to dist/ (ready for just release-notes)
just export /tmp/out step sphereExport one artifact in a given format
just release dist/Alias for just export dist/
just release-notes v0.0.1Generate dist/RELEASE_BODY.md (repo from template.repo.toml)
just renderHeadless PNG from main.py to dist/
just render --lighting-preset defaultSame with CLI render overrides (flags may precede positionals)
just render dist/sphere.stl dist/sphere.png --camera topHeadless PNG from STL
just render main.py dist --lighting-preset brightViewer script with CLI render overrides
just render-artifact sphere /tmp/outExport STL + headless PNG for one artifact
just render-artifact demo_sphere dist --lighting-preset brightArtifact render with lighting override

Release versioning​

CommandWhat it runs
just version-bumpBump patch via uv version --bump
just version-bump minorBump minor (also major, alpha, beta, rc, …)
just version-tagCreate and push v{version} tag
Version bump syntax

Use just version-bump minor — not just version-bump part=patch (just treats part=patch as a literal string).

Documentation​

CommandWhat it runs
just docs-installnpm ci in website/
just docs-serveDocusaurus dev server (alias: just docs-start; auto-started in devcontainer on port 3000)
just docs-serve-bgBackground dev server via .devcontainer/start-docs.sh (idempotent)
just docs-buildProduction docs build

CI/CD pipeline (Dagger)​

CommandWhat it runs
just ciFull Dagger pipeline (lint + artifacts + test)
just ci-testDagger pytest only
just ci-lintDagger ruff + mypy + vulture only
just ci-artifactsDagger artifact export verification
just ci-release dist/Dagger release STL + PNG export

See just for grouped overview and common workflows.