mirror of
https://github.com/go-task/task.git
synced 2025-08-08 22:36:57 +02:00
fix: inconsistent current directory resolution depending on include order (#1757)
This commit is contained in:
committed by
GitHub
parent
c5eea294aa
commit
a72e70b026
9
testdata/includes_http/child-taskfile2.yml
vendored
Normal file
9
testdata/includes_http/child-taskfile2.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
third-with-dir-1:
|
||||
taskfile: "{{.INCLUDE_ROOT}}/child-taskfile3.yml"
|
||||
dir: ./dir-1
|
||||
third-with-dir-2:
|
||||
taskfile: "{{.INCLUDE_ROOT}}/child-taskfile3.yml"
|
||||
dir: ./dir-2
|
4
testdata/includes_http/child-taskfile3.yml
vendored
Normal file
4
testdata/includes_http/child-taskfile3.yml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
default: "true"
|
8
testdata/includes_http/root-taskfile-remotefile-empty-dir-1st.yml
vendored
Normal file
8
testdata/includes_http/root-taskfile-remotefile-empty-dir-1st.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
second-no-dir:
|
||||
taskfile: "{{.INCLUDE_ROOT}}/child-taskfile2.yml"
|
||||
second-with-dir-1:
|
||||
taskfile: "{{.INCLUDE_ROOT}}/child-taskfile2.yml"
|
||||
dir: ./dir-1
|
8
testdata/includes_http/root-taskfile-remotefile-empty-dir-2nd.yml
vendored
Normal file
8
testdata/includes_http/root-taskfile-remotefile-empty-dir-2nd.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
second-with-dir-1:
|
||||
taskfile: "{{.INCLUDE_ROOT}}/child-taskfile2.yml"
|
||||
dir: ./dir-1
|
||||
second-no-dir:
|
||||
taskfile: "{{.INCLUDE_ROOT}}/child-taskfile2.yml"
|
Reference in New Issue
Block a user