From 31273cd6ff2c0bc34026b9960dd93131f6bbcbef Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 22 Jul 2018 18:15:11 -0300 Subject: [PATCH] Update README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 364df48a..98d3b857 100644 --- a/README.md +++ b/README.md @@ -145,13 +145,18 @@ tasks: Taskfile_linux.yml: ```yml +version: '2' + tasks: build: cmds: - echo "linux" ``` -Will print out `linux` and not default. +Will print out `linux` and not `default`. + +Keep in mind that the version of the files should match. Also, when redefining +a task the whole task is replaced, properties of the task are not merged. It's also possible to have an OS specific `Taskvars.yml` file, like `Taskvars_windows.yml`, `Taskfile_linux.yml`, or `Taskvars_darwin.yml`. See the