feat: better error handling for duplicate edges and fixed tests

This commit is contained in:
Pete Davison
2023-09-05 23:55:56 +00:00
parent a50580b5a1
commit 0a027df50d
9 changed files with 52 additions and 18 deletions

View File

@@ -6,13 +6,13 @@ includes:
included_without_dir:
taskfile: ./module1
included_taskfile_without_dir:
taskfile: ./module1/Taskfile.yml
included_with_dir:
taskfile: ./module2
dir: ./module2
included_taskfile_with_dir:
taskfile: ./module2/Taskfile.yml
dir: ./module2
included_with_dir:
taskfile: ./module3
dir: ./module3
included_taskfile_with_dir:
taskfile: ./module4/Taskfile.yml
dir: ./module4
included_os: ./Taskfile_{{OS}}.yml
tasks:

View File

@@ -1,10 +1,6 @@
version: '3'
tasks:
gen_dir:
cmds:
- echo included_directory_without_dir > included_directory_without_dir.txt
gen_file:
cmds:
- echo included_taskfile_without_dir > included_taskfile_without_dir.txt

View File

@@ -3,8 +3,4 @@ version: '3'
tasks:
gen_dir:
cmds:
- echo included_directory_with_dir > included_directory_with_dir.txt
gen_file:
cmds:
- echo included_taskfile_with_dir > included_taskfile_with_dir.txt
- echo included_directory_without_dir > included_directory_without_dir.txt

View File

@@ -0,0 +1,6 @@
version: '3'
tasks:
gen_file:
cmds:
- echo included_taskfile_with_dir > included_taskfile_with_dir.txt

View File

@@ -0,0 +1,6 @@
version: '3'
tasks:
gen_dir:
cmds:
- echo included_directory_with_dir > included_directory_with_dir.txt