mirror of
https://github.com/go-task/task.git
synced 2025-01-12 04:34:11 +02:00
move examples to its own repo
This commit is contained in:
parent
0513a21e25
commit
c53db134c6
10
README.md
10
README.md
@ -21,7 +21,8 @@ It aims to be simpler and easier to use then [GNU Make][make].
|
|||||||
- [Help](#help)
|
- [Help](#help)
|
||||||
- [Silent mode](#silent-mode)
|
- [Silent mode](#silent-mode)
|
||||||
- [Watch tasks](#watch-tasks-experimental)
|
- [Watch tasks](#watch-tasks-experimental)
|
||||||
- [Task in the wild](#task-in-the-wild)
|
- [Examples][#examples]
|
||||||
|
- [Task in the wild](#task-in-the-wild)
|
||||||
- [Alternative task runners](#alternative-task-runners)
|
- [Alternative task runners](#alternative-task-runners)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
@ -503,6 +504,12 @@ If you give a `--watch` or `-w` argument, task will watch for files 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 know which files to watch.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
The [go-task/examples][examples] intends to be a collection of Taskfiles for
|
||||||
|
various use cases.
|
||||||
|
(It still lacks many examples, though. Contributions are welcome).
|
||||||
|
|
||||||
## Task in the wild
|
## Task in the wild
|
||||||
|
|
||||||
- [How I Build My Static Assets for Hugo][post-hugo]
|
- [How I Build My Static Assets for Hugo][post-hugo]
|
||||||
@ -540,3 +547,4 @@ so task know which files to watch.
|
|||||||
[sh]: https://github.com/mvdan/sh
|
[sh]: https://github.com/mvdan/sh
|
||||||
[post-hugo]: https://blog.carlmjohnson.net/post/2017/hugo-asset-pipeline/
|
[post-hugo]: https://blog.carlmjohnson.net/post/2017/hugo-asset-pipeline/
|
||||||
[minify]: https://github.com/tdewolff/minify/tree/master/cmd/minify
|
[minify]: https://github.com/tdewolff/minify/tree/master/cmd/minify
|
||||||
|
[examples]: https://github.com/go-task/examples
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
hello:
|
|
||||||
cmds:
|
|
||||||
- echo "I am going to write a file named 'output.txt' now."
|
|
||||||
- echo "hello" > output.txt
|
|
||||||
generates:
|
|
||||||
- output.txt
|
|
Loading…
Reference in New Issue
Block a user