Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.26 KB

CONTRIBUTING.md

File metadata and controls

36 lines (27 loc) · 1.26 KB

Contributing

The contributing guide covers project scope, review expectations, and checks. Start from the repository root:

mise install
mise run build
mise run test

For website changes, run mise run docs:dev for a live preview and mise exec -- aube run docs:build for the production build. Guides live in docs/; docs/cli/reference/ is generated from command help in the Rust source.

Git hooks

Linting runs through hk, configured in hk.pkl. mise install provides the binary; installing the hooks themselves is per-clone:

mise exec -- hk install --mise

--mise runs the hooks through mise x, so the project's pinned tools are on PATH even when Git is invoked from an editor. The pre-commit hook fixes what it can and stages the result. The same steps run on demand as mise run lint and mise run lint-fix.

mbx build cache

mise wraps cargo with mbx, so compiled work is shared across checkouts. mise run tasks and mise exec -- cargo … use the wrapper; plain cargo does too once mise is activated in your shell. Builds that set MBX_DISABLE=1, including CI, skip the cache.