1
0
mirror of https://github.com/go-task/task.git synced 2025-03-21 21:27:07 +02:00

typo and grammar fixes

This commit is contained in:
Jonas Galvão Xavier 2020-08-22 13:33:04 -07:00 committed by GitHub
parent 7652d7889b
commit 87f11491d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -483,7 +483,7 @@ Example of sending parameters with environment variables:
$ TASK_VARIABLE=a-value task do-something $ TASK_VARIABLE=a-value task do-something
``` ```
> TIP: A special variable `.TASK` is always available containg the task name. > TIP: A special variable `.TASK` is always available containing the task name.
Since some shells don't support above syntax to set environment variables Since some shells don't support above syntax to set environment variables
(Windows) tasks also accepts a similar style when not in the beginning of (Windows) tasks also accepts a similar style when not in the beginning of
@ -688,7 +688,7 @@ Please note: *showing the summary will not execute the command*.
## Overriding task name ## Overriding task name
Sometimes you may want to override the task name print on summary, up-to-date Sometimes you may want to override the task name print on summary, up-to-date
messates to STDOUT, etc. In this case you can just set `label:`, which can also messages to STDOUT, etc. In this case you can just set `label:`, which can also
be interpolated with variables: be interpolated with variables:
```yaml ```yaml
@ -908,9 +908,9 @@ tasks:
## Watch tasks ## Watch tasks
If you give a `--watch` or `-w` argument, task will watch for file changes With the flags `--watch` or `-w` task will watch for file changes
and run the task again. This requires the `sources` attribute to be given, and run the task again. This requires the `sources` attribute to be given,
so task know which files to watch. so task knows which files to watch.
[gotemplate]: https://golang.org/pkg/text/template/ [gotemplate]: https://golang.org/pkg/text/template/
[minify]: https://github.com/tdewolff/minify/tree/master/cmd/minify [minify]: https://github.com/tdewolff/minify/tree/master/cmd/minify