mirror of
https://github.com/go-task/task.git
synced 2024-12-14 10:52:43 +02:00
20 lines
285 B
YAML
20 lines
285 B
YAML
version: '2'
|
|
|
|
tasks:
|
|
foo:
|
|
preconditions:
|
|
- test -f foo.txt
|
|
|
|
impossible:
|
|
preconditions:
|
|
- sh: "[ 1 = 0 ]"
|
|
msg: "1 != 0 obviously!"
|
|
|
|
depends_on_impossible:
|
|
deps:
|
|
- impossible
|
|
|
|
executes_failing_task_as_cmd:
|
|
cmds:
|
|
- task: impossible
|