Skip to content

Commit 60186bd

Browse files
committed
readme: document Snap as an installation method
1 parent 2c2eb16 commit 60186bd

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ tasks. Task is written in Golang, but can be used to develop any language.
88
It aims to be simpler and easier to use then [GNU Make][make].
99

1010
- [Installation](#installation)
11+
- [Go](#go)
12+
- [Snap](#snap)
13+
- [Binary](#binary)
1114
- [Usage](#usage)
1215
- [Environment](#environment)
1316
- [OS specific task](#os-specific-task)
@@ -27,15 +30,29 @@ It aims to be simpler and easier to use then [GNU Make][make].
2730

2831
## Installation
2932

33+
### Go
34+
3035
If you have a [Golang][golang] environment setup, you can simply run:
3136

3237
```bash
3338
go get -u -v github.com/go-task/task/cmd/task
3439
```
3540

41+
### Snap
42+
43+
Task is available for [Snapcraft][snapcraft], but keep in mind that your
44+
Linux distribution should allow classic confinement for Snaps to Task work
45+
right:
46+
47+
```bash
48+
sudo snap install task
49+
```
50+
51+
### Binary
52+
3653
Or you can download the binary from the [releases][releases] page and add to
3754
your `PATH`. DEB and RPM packages are also available.
38-
The `task_checksums.txt` file contains the SHA-256 checksum for each file.
55+
The `task_checksums.txt` file contains the sha256 checksum for each file.
3956

4057
## Usage
4158

@@ -548,3 +565,4 @@ various use cases.
548565
[post-hugo]: https://blog.carlmjohnson.net/post/2017/hugo-asset-pipeline/
549566
[minify]: https://github.com/tdewolff/minify/tree/master/cmd/minify
550567
[examples]: https://github.com/go-task/examples
568+
[snapcraft]: https://snapcraft.io/

0 commit comments

Comments
 (0)