1
0
mirror of https://github.com/go-task/task.git synced 2025-04-04 22:24:25 +02:00

Merge pull request #415 from felladrin/patch-1

Fix duplicate task name on "Short task syntax" example
This commit is contained in:
Andrey Nering 2021-01-02 11:02:49 -03:00 committed by GitHub
commit b2f08c9c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -865,7 +865,7 @@ $ task default
## Short task syntax
Starting on Task v3, you can now write tasks with a shorter syntax if they
have the default settings (e.g. no custom `env:`, `vars:`, `silent:` , etc):
have the default settings (e.g. no custom `env:`, `vars:`, `desc:`, `silent:` , etc):
```yaml
version: '3'
@ -873,7 +873,7 @@ version: '3'
tasks:
build: go build -v -o ./app{{exeExt}} .
build:
run:
- task: build
- ./app{{exeExt}} -h localhost -p 8080
```