Executes a Plan against a handler registry.
Knows nothing about tools.build. A handler is (fn [ctx step] -> result) keyed by :step/kind, which is the seam the whole suite exercises: substitute recording handlers and an entire release runs with no filesystem, no network, and no jar.
Executes a Plan against a handler registry. Knows nothing about tools.build. A handler is (fn [ctx step] -> result) keyed by :step/kind, which is the seam the whole suite exercises: substitute recording handlers and an entire release runs with no filesystem, no network, and no jar.
(missing-handlers handlers plan)Step kinds in plan that handlers cannot execute, in plan order.
Step kinds in `plan` that `handlers` cannot execute, in plan order.
(run! handlers ctx plan)Execute every step of plan in order against handlers, threading ctx.
Returns the vector of step results.
The plan is checked for coverage before the first effect. A release that ran half its steps and reported success is the failure this design exists to prevent, so an unhandled step stops it before anything happens rather than when it is reached.
Execute every step of `plan` in order against `handlers`, threading `ctx`. Returns the vector of step results. The plan is checked for coverage before the first effect. A release that ran half its steps and reported success is the failure this design exists to prevent, so an unhandled step stops it before anything happens rather than when it is reached.
(runnable? handlers plan)True when handlers covers every step of plan.
True when `handlers` covers every step of `plan`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |