Module schema

Module schema 

Source
Expand description

The schema module contains the data structures used to represent the tasks

Structs§

CommandResult
IncludeArgs
NpmPackage
Precondition
This struct represents a precondition that must be met before a task can be executed.
ShellArgs
TaskArgs
This struct represents a task that can be executed. A task can contain multiple commands that are executed sequentially. A task can also have preconditions that must be met before the task can be executed.
TaskContext
Used to pass information to tasks This use arc to allow for sharing of data between tasks and allow parallel runs of tasks
TaskDependencyArgs
This struct represents a task dependency. A task can depend on other tasks. If a task depends on another task, the dependent task must be executed before the dependent task.
TaskRoot
This struct represents the root of the task schema. It contains all the tasks that can be executed.
UseCargoArgs
UseNpmArgs

Enums§

CommandRunner
Include
Shell
Task
TaskDependency
UseCargo
UseNpm

Functions§

get_output_handler
is_shell_command
is_template_command

Type Aliases§

ExecutionStack