mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
preconditions cannot be in included taskfile
This commit is contained in:
8
testdata/precondition/global/included/Taskfile.yml
vendored
Normal file
8
testdata/precondition/global/included/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
version: 3
|
||||
|
||||
includes:
|
||||
included: included.yml
|
||||
|
||||
preconditions:
|
||||
- sh: "[ 1 = 0 ]"
|
||||
msg: "1 != 0 obviously!"
|
5
testdata/precondition/global/included/included.yml
vendored
Normal file
5
testdata/precondition/global/included/included.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
version: 3
|
||||
|
||||
preconditions:
|
||||
- sh: "[ 1 = 0 ]"
|
||||
msg: "1 != 0 obviously!"
|
Reference in New Issue
Block a user