Allow calling a task of the root Taskfile from within an included Taskfile

Fixes #161
This commit is contained in:
Andrey Nering
2019-02-02 21:12:57 -02:00
parent 310394aa60
commit 1dec956e99
7 changed files with 41 additions and 0 deletions

View File

@@ -258,6 +258,10 @@ tasks:
The above syntax is also supported in `deps`.
> NOTE: If you want to call a task declared in the root Taskfile from within an
> [included Taskfile](#including-other-taskfiles), add a leading `:` like this:
> `task: :task-name`.
## Prevent unnecessary work
If a task generates something, you can inform Task the source and generated