imp Guide User API Reference JS Code Reference
JS code reference
Core
  • Workflows
  • Rules
  • Imp
Languages
  • Asset
  • C
  • Init
  • Js
  • Oci
  • Odin
    • rules/odin/BUILD.js
    • rules/odin/toolchain.js
    • Example
    • Odinfmt
      • rules/odin/odinfmt/BUILD.js
      • rules/odin/odinfmt/toolchain.js
    • Vscode
  • Python
  • Rust
  • Treesitter
  • Zola

Odinfmt

Developer reference: this page includes exported implementation details. BUILD authors should prefer the User API reference.

odinFmtRoot()

odinFmtRoot({ sources, base, version })

Build the CAS formatter result consumed by the shared graph fmt workflow.

  • rules/odin/odinfmt/BUILD.js
  • rules/odin/odinfmt/toolchain.js

imp — a hermetic, content-addressed build system.