1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00
This commit is contained in:
Valentin Maerten
2025-01-05 13:46:24 +01:00
parent d3e0fc9eea
commit 596fd29cb2
6 changed files with 65 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
version: '3'
preconditions:
- sh: "[ 1 = 0 ]"
msg: "1 != 0 obviously!"
tasks:
impossible:
cmd: echo "won't run"

View File

@@ -0,0 +1,12 @@
version: '3'
preconditions:
- test -f foo.txt
tasks:
foo:
impossible:
preconditions:
- sh: "[ 1 = 0 ]"
msg: "1 != 0 obviously!"

0
testdata/precondition/local/foo.txt vendored Normal file
View File