feat: support lowercase Taskfiles (#1221)

This commit is contained in:
Pete Davison
2023-06-17 18:38:53 +01:00
committed by GitHub
parent d82b0faca1
commit 5e78171d3e
4 changed files with 15 additions and 4 deletions

View File

@@ -43,9 +43,13 @@ If you omit a task name, "default" will be assumed.
Task will look for the following file names, in order of priority:
- Taskfile.yml
- taskfile.yml
- Taskfile.yaml
- taskfile.yaml
- Taskfile.dist.yml
- taskfile.dist.yml
- Taskfile.dist.yaml
- taskfile.dist.yaml
The intention of having the `.dist` variants is to allow projects to have one
committed version (`.dist`) while still allowing individual users to override
@@ -85,7 +89,7 @@ will be brought up.
If you call Task with the `--global` (alias `-g`) flag, it will look for your
home directory instead of your working directory. In short, Task will look for a
Taskfile on either `$HOME/Taskfile.yml` or `$HOME/Taskfile.yaml` paths.
Taskfile that matches `$HOME/{T,t}askfile.{yml,yaml}` .
This is useful to have automation that you can run from anywhere in your system!