From 70ffe01cecae62c3277d027cc8ca802fec9777b7 Mon Sep 17 00:00:00 2001 From: codeskyblue Date: Sat, 12 Aug 2017 17:20:13 +0800 Subject: [PATCH] update doc --- .travis.yml | 1 - README.md | 18 +++++------------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82645c7..c1e7d78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 582799d..7772c18 100644 --- a/README.md +++ b/README.md @@ -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 + -| Branch | Source | Address | -|--------|--------|---------| -| latest | equinox| | - -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 ```