mirror of
https://github.com/go-task/task.git
synced 2024-12-12 10:45:49 +02:00
9f0f18c5c4
The idea is to allow manual inclusion of a OS-dependant Taskfile, since it's not automatically included anymore.
33 lines
768 B
YAML
33 lines
768 B
YAML
version: '3'
|
|
|
|
includes:
|
|
included: ./included
|
|
included_taskfile: ./Taskfile2.yml
|
|
included_without_dir:
|
|
taskfile: ./module1
|
|
included_taskfile_without_dir:
|
|
taskfile: ./module1/Taskfile.yml
|
|
included_with_dir:
|
|
taskfile: ./module2
|
|
dir: ./module2
|
|
included_taskfile_with_dir:
|
|
taskfile: ./module2/Taskfile.yml
|
|
dir: ./module2
|
|
included_os: ./Taskfile_{{OS}}.yml
|
|
|
|
tasks:
|
|
default:
|
|
cmds:
|
|
- task: gen
|
|
- task: included:gen
|
|
- task: included_taskfile:gen
|
|
- task: included_without_dir:gen_file
|
|
- task: included_taskfile_without_dir:gen_dir
|
|
- task: included_with_dir:gen_file
|
|
- task: included_taskfile_with_dir:gen_dir
|
|
- task: included_os:gen
|
|
|
|
gen:
|
|
cmds:
|
|
- echo main > main.txt
|