Allow shorter syntax for tasks with default configuration

Closes #194
Closes #240

Co-authored-by: Jaedle <dennis.jekubczyk@gmail.com>
This commit is contained in:
Andrey Nering
2019-12-07 21:28:02 -03:00
parent b7bcd204b4
commit b7b752b92f
6 changed files with 113 additions and 9 deletions

View File

@@ -72,15 +72,12 @@ tasks:
- cp ./install-task.sh ./docs/install.sh
ci:
cmds:
- task: go-get
vars: {REPO: golang.org/x/lint/golint}
- task: lint
- task: test
- task: go-get
vars: {REPO: golang.org/x/lint/golint}
- task: lint
- task: test
go-get:
cmds:
- go get -u {{.REPO}}
go-get: go get -u {{.REPO}}
packages:
cmds: