Skip to main content

Crate origin_xtask

Crate origin_xtask 

Source
Expand description

Origin maintenance tasks, as a library.

A derivative’s xtask is three lines:

fn main() -> std::process::ExitCode {
    origin_xtask::main()
}

That is the point. Architecture rules, the generator and the CI recipe arrive with a version bump instead of being copied into each project and drifting apart — a new rule lands in every derivative and fails its CI the same day (see the update system plan, category C).

Structs§

NewOptions
Version

Functions§

check_generated
Fail if anything generated is missing, stale, or was edited by hand.
generate
Write everything derived from the manifests found in the workspace.
main
Dispatch a task from the process arguments.
new
update
Run every pending migration, regenerate, and record the new version.
validate
workspace_root
The repository root.