Skip to main content

TaskConfiguration


Nadle / TaskConfiguration

Interface: TaskConfiguration

Defined in: packages/nadle/src/core/interfaces/task-configuration.ts:7

Configuration for a Nadle task.

Properties

dependsOn?

optional dependsOn: MaybeArray<string>

Defined in: packages/nadle/src/core/interfaces/task-configuration.ts:21

A task or a list of tasks that this task depends on.


description?

optional description: string

Defined in: packages/nadle/src/core/interfaces/task-configuration.ts:16

The description of the task.


env?

optional env: TaskEnv

Defined in: packages/nadle/src/core/interfaces/task-configuration.ts:26

Environment variables to set when running the task.


group?

optional group: string

Defined in: packages/nadle/src/core/interfaces/task-configuration.ts:11

The group name to which this task belongs.


inputs?

optional inputs: MaybeArray<Declaration>

Defined in: packages/nadle/src/core/interfaces/task-configuration.ts:38

Input declaration for the task. Declare any files, directories or globs that the task reads from. These are used for cache key generation.


outputs?

optional outputs: MaybeArray<Declaration>

Defined in: packages/nadle/src/core/interfaces/task-configuration.ts:45

Output declaration for the task. Declare any files or directories that the task produces. These are used for caching, restoring, and cleanup.


workingDir?

optional workingDir: string

Defined in: packages/nadle/src/core/interfaces/task-configuration.ts:31

Changes the working directory for the task.