1
0
mirror of https://github.com/go-task/task.git synced 2024-12-14 10:52:43 +02:00

show documentation of version 1, add deprecation notice

This commit is contained in:
jaedle 2019-08-19 20:59:02 +02:00
parent 821c80b61e
commit ce4e187cbc

View File

@ -15,7 +15,23 @@ available, but not `3.0.0+`.
## Version 1
Is deprecated and can not be used anymore.
*Taskfiles with Version `1` are not available on Task >= `v3.0.0` anymore.*
In the first version of the `Taskfile`, the `version:` key was not available,
because the tasks was in the root of the YAML document. Like this:
```yaml
echo:
cmds:
- echo "Hello, World!"
```
The variable priority order was also different:
1. Call variables
2. Environment
3. Task variables
4. `Taskvars.yml` variables
## Version 2.0