very simple go online build.
- The repo must be in github.com
- Must be golang repo
- Repo must have folder
Godeps
in top dir.
curl http://grget.shengxiang.me/codeskyblue/minicdn/master/linux/amd64 -o minicdn
There is also another way, use a script. This will auto check OS and ARCH. (not working in windows)
sh grins.sh codeskyblue/minicdn
Like apt-get install
, So I create a tools named grcli
$ go get -v github.com/codeskyblue/grget/grcli
$ grcli install codeskyblue/fswatch
# now you can run fswatch
Need to specify git host and listen port, ex
grget -githost git.localhost.com -p 4321
Then add the following to bashrc, so grcli can find the right server.
export GRGET_SERVER_ADDR="git.localhost.com"
Please donot hack my machine.