You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
Can I propose that an installation script be introduced that will download the latest release binary executable and install it in your GOPATH/bin directory?
I am attaching such a script. Not sure where to put it (which is why I didn't submit a PR), but this works for me. Was hoping you guys would take it (or make something like it) so I wouldn't have to maintain it myself :)
It works very simply. Make sure your GOPATH is set properly, and run the script (with no arguments). The script will put the latest release of dep in GOPATH/bin. Under the covers, the script uses 'uname' to figure out what artifact it needs and then uses the github API to determine where the latest release is for that artifact. It then downloads it directly to GOPATH/bin. You can run such a script in a Go project's Makefile as a way for a new developer to download dep quickly and easily or have Travis run the make target to download dep so Travis can then use dep to pull down vendor deps (assuming the vendor deps aren't already committed to git).
The single script is found in this zip file: get-go-dep.zip
The text was updated successfully, but these errors were encountered:
Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!
Can I propose that an installation script be introduced that will download the latest release binary executable and install it in your GOPATH/bin directory?
I am attaching such a script. Not sure where to put it (which is why I didn't submit a PR), but this works for me. Was hoping you guys would take it (or make something like it) so I wouldn't have to maintain it myself :)
It works very simply. Make sure your GOPATH is set properly, and run the script (with no arguments). The script will put the latest release of dep in GOPATH/bin. Under the covers, the script uses 'uname' to figure out what artifact it needs and then uses the github API to determine where the latest release is for that artifact. It then downloads it directly to GOPATH/bin. You can run such a script in a Go project's Makefile as a way for a new developer to download dep quickly and easily or have Travis run the make target to download dep so Travis can then use dep to pull down vendor deps (assuming the vendor deps aren't already committed to git).
The single script is found in this zip file: get-go-dep.zip
The text was updated successfully, but these errors were encountered: