mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
Resolve relative include paths relative to the including Taskfile
Closes #823 Closes #822
This commit is contained in:
committed by
Andrey Nering
parent
47c1bb6a5b
commit
e396f4d06f
10
testdata/includes_rel_path/Taskfile.yml
vendored
Normal file
10
testdata/includes_rel_path/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
included:
|
||||
taskfile: ./included
|
||||
dir: ./included
|
||||
|
||||
common:
|
||||
taskfile: ./common
|
||||
dir: ./common
|
4
testdata/includes_rel_path/common/Taskfile.yml
vendored
Normal file
4
testdata/includes_rel_path/common/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
pwd: pwd
|
6
testdata/includes_rel_path/included/Taskfile.yml
vendored
Normal file
6
testdata/includes_rel_path/included/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
common:
|
||||
taskfile: ../common
|
||||
dir: ../common
|
Reference in New Issue
Block a user