Hi,
We have one taskfile at root level (Taskfile.vars.yml). We also have multiple Taskfile file in subdirectories (one per project) like this :
Taskfile.yaml
Taskfile.vars.yaml
code/
├── frontend/
│ └── Taskfile.yaml
└── backend/
└── Taskfile.yaml
We want to include Taskfile.vars.yaml in all Taskfile.yaml. At the moment we are doing this:
version: '3'
includes:
variables: ../../../Taskfile.vars.yaml
and we wanted to be able to do something like this:
version: '3'
includes:
variables: {{.ROOT_DIR}}/Taskfile.vars.yaml
What do you think about this? Is there another to achieve this?
Thanks
Hi,
We have one taskfile at root level (Taskfile.vars.yml). We also have multiple Taskfile file in subdirectories (one per project) like this :
We want to include
Taskfile.vars.yamlin allTaskfile.yaml. At the moment we are doing this:and we wanted to be able to do something like this:
What do you think about this? Is there another to achieve this?
Thanks