mirror of
https://github.com/go-task/task.git
synced 2026-06-25 05:35:56 +00:00
fix: correct the value of ROOT_TASKFILE when no entrypoint (#2635)
This commit is contained in:
1
testdata/special_vars/Taskfile.yml
vendored
1
testdata/special_vars/Taskfile.yml
vendored
@@ -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}}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{{.TEST_DIR}}/testdata/special_vars/Taskfile.yml
|
||||
@@ -0,0 +1 @@
|
||||
{{.TEST_DIR}}/testdata/special_vars/Taskfile.yml
|
||||
Reference in New Issue
Block a user