fix: correct the value of ROOT_TASKFILE when no entrypoint (#2635)

This commit is contained in:
Timothy Rule
2026-01-25 16:06:13 +01:00
committed by GitHub
parent c3fd3c4b5e
commit 1bd5aa6bd5
5 changed files with 5 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ tasks:
cmds:
- echo {{.TASK}}
print-root-dir: echo {{.ROOT_DIR}}
print-root-taskfile: echo {{.ROOT_TASKFILE}}
print-taskfile: echo {{.TASKFILE}}
print-taskfile-dir: echo {{.TASKFILE_DIR}}
print-task-version: echo {{.TASK_VERSION}}

View File

@@ -0,0 +1 @@
{{.TEST_DIR}}/testdata/special_vars/Taskfile.yml

View File

@@ -0,0 +1 @@
{{.TEST_DIR}}/testdata/special_vars/Taskfile.yml