feat: add --failfast and failtest: true to control dependencies (#2525)

This commit is contained in:
Andrey Nering
2025-12-07 17:23:08 -03:00
committed by GitHub
parent 54e4905432
commit 9b99866224
24 changed files with 180 additions and 2 deletions

View File

@@ -110,6 +110,14 @@ task deploy --silent
### Execution Control
#### `-F, --failfast`
Stop executing dependencies as soon as one of them fails.
```bash
task build --failfast
```
#### `-f, --force`
Force execution even when the task is up-to-date.

View File

@@ -102,6 +102,17 @@ verbose: true
concurrency: 4
```
### `failfast`
- **Type**: `boolean`
- **Default**: `false`
- **Description**: Stop executing dependencies as soon as one of them fail
- **CLI equivalent**: [`-F, --failfast`](./cli.md#f-failfast)
```yaml
failfast: true
```
## Example Configuration
Here's a complete example of a `.taskrc.yml` file with all available options: