Class BuildTasksRunner
Basic static class containing default implementations for BuildTask validation and running.
Namespace: UnityEditor.Build.Pipeline
Syntax
public static class BuildTasksRunner
Methods
Run(IList<IBuildTask>, IBuildContext)
Basic run implementation that takes a set of tasks, a context, and runs returning the build results. IBuildTask, IBuildContext, and ReturnCode
Declaration
public static ReturnCode Run(IList<IBuildTask> pipeline, IBuildContext context)
Parameters
Type | Name | Description |
---|---|---|
IList<IBuildTask> | pipeline | The set of build tasks to run. |
IBuildContext | context | The build context to use for this run. |
Returns
Type | Description |
---|---|
ReturnCode | Return code with status information about success or failure causes. |
Validate(IList<IBuildTask>, IBuildContext)
Basic validate implementation that takes a set of tasks, a context, and does checks to ensure the task requirements are all satisfied. IBuildTask, IBuildContext, and ReturnCode
Declaration
public static ReturnCode Validate(IList<IBuildTask> pipeline, IBuildContext context)
Parameters
Type | Name | Description |
---|---|---|
IList<IBuildTask> | pipeline | The set of build tasks to run. |
IBuildContext | context | The build context to use for this run. |
Returns
Type | Description |
---|---|
ReturnCode | Return code with status information about success or failure causes. |