mix foundry.project.status (Foundry v0.3.0)

Copy Markdown View Source

Outputs the current project health status as JSON.

Usage: mix foundry.project.status [--json]

The status includes:

  • Compilation state
  • Stack dependency versions
  • Lint violations
  • Pending migrations
  • Open proposals
  • Compliance coverage
  • Test coverage
  • CI state
  • Project manifest metadata

Options

  • --json - Output compact JSON (default: false, outputs pretty-printed JSON)

Summary

Functions

Build status JSON for the given project root.

Callback implementation for Mix.Task.run/1.

Functions

build_output(project_root, pretty \\ true)

Build status JSON for the given project root.

Accepts pretty: boolean option. Separated from run/1 so tests can call this without triggering Mix.Task.run("compile") or Mix.Sync.PubSub startup.

run(args)

Callback implementation for Mix.Task.run/1.