Closed j6s closed 6 years ago
@j6s how about running go get
without arguments?
That only works if you clone the repository into your gopath.
For a casual 'clone and compile real quick' use case most people will clone the repository into a temporary folder where go get
without arguments will fail (see below).
$ go get
go install: no install location for directory /home/j/tmp/prometheus_bot outside GOPATH
For more details see: go help gopath
In this case you can create a symlink. Seriously, there's nothing special here, I'd like to avoid unnecessary code and keep things simple.
Figuring out the correct dependencies to get after cloning a repository is a little jarring. This make task installs all of the dependencies that are needed to build
prometheus_bot
.