mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
feat: add TASK_DIR special variable (#1961)
Co-authored-by: Pete Davison <pd93.uk@outlook.com>
This commit is contained in:
3
testdata/special_vars/Taskfile.yml
vendored
3
testdata/special_vars/Taskfile.yml
vendored
@@ -19,3 +19,6 @@ tasks:
|
||||
cmds:
|
||||
- echo "{{.ALIAS}}"
|
||||
print-task-alias-default: echo "{{.ALIAS}}"
|
||||
print-task-dir:
|
||||
dir: 'foo'
|
||||
cmd: echo {{.TASK_DIR}}
|
||||
|
Reference in New Issue
Block a user