Convert Go deps managed by glide to Homebrew resources to help you make brew formulas for you Go programs. The resulting config can be used in Homebrew formulas to have brew share your Go dependencies as brew resources.
See Homebrew's documentation on resources for instructions on how to use them.
You can either install with Homebrew:
brew install heewa/tap/glide-brew
Or with Go:
go get github.com/heewa/glide-brew
Then run glide brew
from your Go repo, where you have your glide.yaml
and glide.lock
files.
If glide complains like: [ERROR] Command glide-brew does not exist.
, then you probably don't have wherever you installed glide-brew
into from go get
in your PATH
. Either add $GOPATH/bin
to your PATH
, or symlink wherever glide-brew
was installed to something that is, like /usr/local/bin/
.