Runs a build token through an ordered list of stages.
The default stage order is the architecture: load → validate → transform → layout → emit. A failing stage stops the run and reports which stage failed.
Summary
Functions
The standard build pipeline, in order.
Threads the token through each stage, stopping at the first error.
Functions
@spec default_stages() :: [module()]
The standard build pipeline, in order.
@spec run(Cherry.Build.t(), [module()]) :: {:ok, Cherry.Build.t()} | {:error, String.t()}
Threads the token through each stage, stopping at the first error.