mirror of
https://github.com/go-task/task.git
synced 2026-06-29 15:44:30 +00:00
fix(#584): Add support to yaml extension
- init creates Taskfile.yaml - add changelog entry - add zsh completion support for Taskfile.yaml
This commit is contained in:
1
testdata/includes_yaml/.gitignore
vendored
Normal file
1
testdata/includes_yaml/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.txt
|
||||
16
testdata/includes_yaml/Custom.ext
vendored
Normal file
16
testdata/includes_yaml/Custom.ext
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
included: ./included
|
||||
custom: ./included/custom.yaml
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
- task: gen
|
||||
- task: included:gen
|
||||
- task: custom:gen
|
||||
|
||||
gen:
|
||||
cmds:
|
||||
- echo main > main.txt
|
||||
6
testdata/includes_yaml/included/Taskfile.yaml
vendored
Normal file
6
testdata/includes_yaml/included/Taskfile.yaml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
gen:
|
||||
cmds:
|
||||
- echo included_with_yaml_extension > included_with_yaml_extension.txt
|
||||
6
testdata/includes_yaml/included/custom.yaml
vendored
Normal file
6
testdata/includes_yaml/included/custom.yaml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
gen:
|
||||
cmds:
|
||||
- echo included_with_custom_file > included_with_custom_file.txt
|
||||
Reference in New Issue
Block a user