mirror of
https://github.com/go-task/task.git
synced 2025-12-16 19:57:43 +01:00
docs: fix YAML syntax errors in schema and guide documentation (#2500)
This commit is contained in:
@@ -406,10 +406,11 @@ option takes the list of tasks to be excluded from this include.
|
||||
|
||||
```yaml [Taskfile.yml]
|
||||
version: '3'
|
||||
includes:
|
||||
included:
|
||||
taskfile: ./Included.yml
|
||||
excludes: [foo]
|
||||
|
||||
includes:
|
||||
included:
|
||||
taskfile: ./Included.yml
|
||||
excludes: [foo]
|
||||
```
|
||||
|
||||
```yaml [Included.yml]
|
||||
@@ -926,7 +927,7 @@ tasks:
|
||||
- ./vendor/autoload.php
|
||||
# But also run the task if the last build was not a production build.
|
||||
status:
|
||||
- grep -q '"dev": false' ./vendor/composer/installed.json
|
||||
- grep -q '"dev"{{:}} false' ./vendor/composer/installed.json
|
||||
```
|
||||
|
||||
### Using programmatic checks to cancel the execution of a task and its dependencies
|
||||
|
||||
Reference in New Issue
Block a user