Skip to content

Conversation

@SamK
Copy link

@SamK SamK commented Nov 1, 2025

This PR documents the dir property at the task level.

Maybe should I add a default value? I was thinking about ROOT_DIR or {{.ROOT_DIR}} or "the location of the root Taskfile" but couldn't find anything suitable. Let me know if you want one.

Closes #2481

@vmaerten vmaerten self-requested a review November 5, 2025 07:48
Copy link
Member

@vmaerten vmaerten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello!
Thanks for your contribution. Actually the default value is not ROOT_DIR. It's the concatenation of include's dir (in case of multiple includes). If it's in the root taskfile, then it's ROOT_DIR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Property "tasks.task.dir" missing from reference documentation

2 participants