mirror of
https://github.com/go-task/task.git
synced 2025-01-04 03:48:02 +02:00
Releasing with GoReleaser
This commit is contained in:
parent
45c40cc845
commit
0609380061
@ -12,7 +12,7 @@ If you have a Go environment setup, you can simply run:
|
||||
go get -u -v github.com/go-task/task/cmd/task
|
||||
```
|
||||
|
||||
Now the `task` executable should be available in your `PATH`.
|
||||
Or you can download from the [releases][releases] page and add to your `PATH`.
|
||||
|
||||
## Usage
|
||||
|
||||
@ -106,3 +106,4 @@ necessary to run the task. If not, it will just print
|
||||
`Task "js" is up to date`.
|
||||
|
||||
[make]: https://www.gnu.org/software/make/
|
||||
[releases]: https://github.com/go-task/task/releases
|
||||
|
10
goreleaser.yml
Normal file
10
goreleaser.yml
Normal file
@ -0,0 +1,10 @@
|
||||
build:
|
||||
binary_name: task
|
||||
main: cmd/task/task.go
|
||||
goos:
|
||||
- windows
|
||||
- darwin
|
||||
- linux
|
||||
goarch:
|
||||
- 386
|
||||
- amd64
|
Loading…
Reference in New Issue
Block a user