mirror of
https://github.com/go-task/task.git
synced 2026-06-23 12:45:52 +00:00
refactor: re-organize node loading code to make it easier to follow (#1771)
This commit is contained in:
committed by
GitHub
parent
9ecc8fc878
commit
8dd3f4b119
1
testdata/includes_remote/.gitignore
vendored
Normal file
1
testdata/includes_remote/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.txt
|
||||
4
testdata/includes_remote/Taskfile.yml
vendored
Normal file
4
testdata/includes_remote/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
first: "{{.FIRST_REMOTE_URL}}"
|
||||
11
testdata/includes_remote/first/Taskfile.yml
vendored
Normal file
11
testdata/includes_remote/first/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
second: "{{.SECOND_REMOTE_URL}}"
|
||||
|
||||
tasks:
|
||||
write-file:
|
||||
requires:
|
||||
vars: [CONTENT, OUTPUT_FILE]
|
||||
cmd: |
|
||||
echo "{{.CONTENT}}" > "{{.OUTPUT_FILE}}"
|
||||
8
testdata/includes_remote/first/second/Taskfile.yml
vendored
Normal file
8
testdata/includes_remote/first/second/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
write-file:
|
||||
requires:
|
||||
vars: [CONTENT, OUTPUT_FILE]
|
||||
cmd: |
|
||||
echo "{{.CONTENT}}" > "{{.OUTPUT_FILE}}"
|
||||
Reference in New Issue
Block a user