mirror of
https://github.com/go-task/task.git
synced 2026-07-08 06:28:44 +00:00
feat: add conditional execution for tasks and commands (#2564)
This commit is contained in:
5
testdata/if/testdata/TestIf-template-eq-false.golden
vendored
Normal file
5
testdata/if/testdata/TestIf-template-eq-false.golden
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
task: "template-eq-false" started
|
||||
task: [template-eq-false] if condition not met - skipped
|
||||
task: [template-eq-false] echo "this runs"
|
||||
this runs
|
||||
task: "template-eq-false" finished
|
||||
Reference in New Issue
Block a user