mirror of
https://github.com/go-task/task.git
synced 2026-06-28 07:04:33 +00:00
added yml/json/toml support, --help flag, and example directory
Signed-off-by: Andrey Nering <andrey.nering@gmail.com>
This commit is contained in:
11
example/Taskfile.json
Normal file
11
example/Taskfile.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"hello": {
|
||||
"cmds": [
|
||||
"echo \"I am going to write a file named 'output.txt' now.\"",
|
||||
"echo \"hello\" > output.txt"
|
||||
],
|
||||
"generates": [
|
||||
"output.txt"
|
||||
]
|
||||
}
|
||||
}
|
||||
6
example/Taskfile.yml
Normal file
6
example/Taskfile.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
hello:
|
||||
cmds:
|
||||
- echo "I am going to write a file named 'output.txt' now."
|
||||
- echo "hello" > output.txt
|
||||
generates:
|
||||
- output.txt
|
||||
Reference in New Issue
Block a user