We're developing runscripts and try to support something like brew install runscripts
.
It's written in golang and have some dependencies which required to go get
. Now I have no idea to write the Formula to setup GOPATH and run go get
. Our project can be compiled into an binary but we need run --init
to install it.
Can anyone helps to give an example about a homebrew Formula of go project?
docker.rb
but it's a little complicated. We just need togo get
the dependencies and run a command to install it. – Domiciliary