mirror of
https://github.com/go-task/task.git
synced 2025-12-25 16:09:26 +01:00
20 lines
377 B
YAML
20 lines
377 B
YAML
version: '3'
|
|
|
|
vars:
|
|
TASKFILE_DIR:
|
|
sh: basename $(pwd)
|
|
|
|
tasks:
|
|
from-included-taskfile:
|
|
cmds:
|
|
- echo '{{.TASKFILE_DIR}}' > from_included_taskfile.txt
|
|
silent: true
|
|
|
|
from-included-taskfile-task:
|
|
cmds:
|
|
- echo '{{.TASKFILE_TASK_DIR}}' > from_included_taskfile_task.txt
|
|
silent: true
|
|
vars:
|
|
TASKFILE_TASK_DIR:
|
|
sh: basename $(pwd)
|