Vixen
dd8b0a81
csharp
public static class BuildSteps

Running the contributed steps of one stage.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Separate from the sequence that calls it, so both stages have a test. The after-build stage of a real player build is only reachable through a dotnet publish, which the editor's suites deliberately do not shell out to — so the arm that runs it would otherwise be a call site nothing ever executed, which is this repository's commonest defect shape.

Methods (2)

  • public static ValueTask<string?> RunAsync(IEnumerable<BuildStep> steps, BuildStage stage, BuildStepContext context, CancellationToken cancellationToken = default(CancellationToken))

    Runs every step of a stage, in order, and stops at the first refusal.

  • public static IEnumerable<BuildStep> Of(IEnumerable<BuildStep> steps, BuildStage stage)

    The steps of one stage, in the order they will run.

Used by (2)

  • BuildStepTestsVixen.Editor.Assets.Tests
  • ContentTasksVixen.Editor.App