chore: sync translations (#1182)

This commit is contained in:
task-bot
2023-05-24 09:37:39 -03:00
committed by GitHub
parent ac96612a17
commit 62b52911fa
24 changed files with 137 additions and 117 deletions

View File

@@ -271,10 +271,11 @@ tasks:
#### Dependency
| Атрибут | Тип | По умолчанию | Описание |
| ------- | ---------------------------------- | ------------ | -------------------------------------------------------- |
| `task` | `string` | | The task to be execute as a dependency. |
| `vars` | [`map[string]Variable`](#variable) | | Optional additional variables to be passed to this task. |
| Атрибут | Тип | По умолчанию | Описание |
| -------- | ---------------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------- |
| `task` | `string` | | The task to be execute as a dependency. |
| `vars` | [`map[string]Variable`](#variable) | | Optional additional variables to be passed to this task. |
| `silent` | `bool` | `false` | Hides task name and command from output. The command's output will still be redirected to `STDOUT` and `STDERR`. |
:::tip

View File

@@ -5,6 +5,16 @@ sidebar_position: 8
# Changelog
## v3.25.0 - 2023-05-22
- Support `silent:` when calling another tasks ([#680](https://github.com/go-task/task/issues/680), [#1142](https://github.com/go-task/task/issues/1142) by [@danquah](https://github.com/danquah)).
- Improve PowerShell completion script ([#1168](https://github.com/go-task/task/issues/1168) by [@trim21](https://github.com/trim21)).
- Add more languages to the website menu and show translation progress percentage ([#1173](https://github.com/go-task/task/issues/1173) by [@misitebao](https://github.com/misitebao)).
- Starting on this release, official binaries for FreeBSD will be available to download ([#1068](https://github.com/go-task/task/issues/1068) by [@andreynering](https://github.com/andreynering)).
- Fix some errors being unintendedly supressed ([#1134](https://github.com/go-task/task/issues/1134) by [@clintmod](https://github.com/clintmod)).
- Fix a nil pointer error when `version` is omitted from a Taskfile ([#1148](https://github.com/go-task/task/issues/1148), [#1149](https://github.com/go-task/task/issues/1149) by [@pd93](https://github.com/pd93)).
- Fix duplicate error message when a task does not exists ([#1141](https://github.com/go-task/task/issues/1141), [#1144](https://github.com/go-task/task/issues/1144) by [@pd93](https://github.com/pd93)).
## v3.24.0 - 2023-04-15
- Fix Fish shell completion for tasks with aliases ([#1113](https://github.com/go-task/task/issues/1113) by [@patricksjackson](https://github.com/patricksjackson)).

View File

@@ -405,6 +405,7 @@ tasks:
vars: { TEXT: 'before 1' }
- task: echo_sth
vars: { TEXT: 'before 2' }
silent: true
cmds:
- echo "after"
@@ -503,7 +504,7 @@ tasks:
- echo "Another task"
```
Переопределение переменных в вызываемой task делается через указание атрибута `vars`:
Using the `vars` and `silent` attributes you can choose to pass variables and toggle [silent mode](#silent-mode) on a call-by-call basis:
```yaml
version: '3'
@@ -519,6 +520,7 @@ tasks:
cmds:
- task: greet
vars: { RECIPIENT: 'Cruel World' }
silent: true
```
Указанный выше синтаксис также поддерживается в `deps`.