Removed automatic inclusion of Taskfiles by OS and update tests

This commit is contained in:
Evgeny Abramovich
2020-02-15 16:40:42 +03:00
parent a3464068bd
commit f38ba7fcd3
11 changed files with 10 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
version: '2'
version: '3'
includes:
included: ./included
@@ -13,9 +13,6 @@ includes:
included_taskfile_with_dir:
taskfile: ./module2/Taskfile.yml
dir: ./module2
os_related:
taskfile: ./module3/CustomTaskfile.yml
dir: ./module3
tasks:
default:
@@ -27,7 +24,6 @@ tasks:
- task: included_taskfile_without_dir:gen_dir
- task: included_with_dir:gen_file
- task: included_taskfile_with_dir:gen_dir
- task: os_related:gen
gen:
cmds:

View File

@@ -1,4 +1,4 @@
version: '2'
version: '3'
tasks:
gen:

View File

@@ -1,4 +1,4 @@
version: '2'
version: '3'
tasks:
gen:

View File

@@ -1,9 +1,10 @@
version: '2'
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

@@ -1,9 +1,10 @@
version: '2'
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

View File

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

View File

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

View File

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

View File

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