master
codeskyblue 7 years ago
parent 723945abcd
commit 70ffe01cec

@ -8,4 +8,3 @@ script:
- go test -v
after_success:
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
- test -z "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash -s -- --snapshot

@ -39,24 +39,16 @@ I have been using python-supervisor for many years and there are something uncom
Go version at least `1.6+`
## Installation
Standalone binary can be download from one of the following addresses
### Binaries
<https://github.com/codeskyblue/gosuv/releases>
| Branch | Source | Address |
|--------|--------|---------|
| latest | equinox| <https://dl.equinox.io/shengxiang/gosuv/stable> |
Or if you have go enviroment, you can also build from source.
Thanks to [goreleaser](https://github.com/goreleaser/goreleaser) which makes publish binary automatic.
### Build from source
```sh
go get -d github.com/codeskyblue/gosuv
cd $GOPATH/src/github.com/codeskyblue/gosuv
go build
```
If you want to build a standalone binary, run the following command.
```sh
go generate
go generate # package html resources into go
go build -tags vfs
```

Loading…
Cancel
Save