mirror of
https://github.com/go-task/task.git
synced 2025-06-13 00:07:29 +02:00
Merge pull request #415 from felladrin/patch-1
Fix duplicate task name on "Short task syntax" example
This commit is contained in:
commit
b2f08c9c20
@ -865,7 +865,7 @@ $ task default
|
|||||||
## Short task syntax
|
## Short task syntax
|
||||||
|
|
||||||
Starting on Task v3, you can now write tasks with a shorter syntax if they
|
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
|
```yaml
|
||||||
version: '3'
|
version: '3'
|
||||||
@ -873,7 +873,7 @@ version: '3'
|
|||||||
tasks:
|
tasks:
|
||||||
build: go build -v -o ./app{{exeExt}} .
|
build: go build -v -o ./app{{exeExt}} .
|
||||||
|
|
||||||
build:
|
run:
|
||||||
- task: build
|
- task: build
|
||||||
- ./app{{exeExt}} -h localhost -p 8080
|
- ./app{{exeExt}} -h localhost -p 8080
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user