master
codeskyblue 7 years ago
parent 723945abcd
commit 70ffe01cec

@ -8,4 +8,3 @@ script:
- go test -v - go test -v
after_success: after_success:
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash - 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+` Go version at least `1.6+`
## Installation ## Installation
Standalone binary can be download from one of the following addresses ### Binaries
<https://github.com/codeskyblue/gosuv/releases>
| Branch | Source | Address | Thanks to [goreleaser](https://github.com/goreleaser/goreleaser) which makes publish binary automatic.
|--------|--------|---------|
| latest | equinox| <https://dl.equinox.io/shengxiang/gosuv/stable> |
Or if you have go enviroment, you can also build from source.
### Build from source
```sh ```sh
go get -d github.com/codeskyblue/gosuv go get -d github.com/codeskyblue/gosuv
cd $GOPATH/src/github.com/codeskyblue/gosuv cd $GOPATH/src/github.com/codeskyblue/gosuv
go build go generate # package html resources into go
```
If you want to build a standalone binary, run the following command.
```sh
go generate
go build -tags vfs go build -tags vfs
``` ```

Loading…
Cancel
Save