1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

Write first test for including a Taskfile

This commit is contained in:
Andrey Nering
2018-10-13 16:56:51 -03:00
parent db280adf55
commit 5a28560177
5 changed files with 35 additions and 0 deletions

1
testdata/includes/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.txt

14
testdata/includes/Taskfile.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
version: '2'
includes:
included: ./included
tasks:
default:
cmds:
- task: gen
- task: included:gen
gen:
cmds:
- echo main > main.txt

View File

@@ -0,0 +1,6 @@
version: '2'
tasks:
gen:
cmds:
- echo included > included.txt