Created
May 2, 2016 12:22
-
-
Save dlsniper/a7b5e819f39c125b79538daa95f3fc82 to your computer and use it in GitHub Desktop.
get all the dependencies from Godeps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
go get -v -u -t `grep -rin "importpath" Godeps/Godeps.json | cut -d' ' -f4 | tail -n +2 | cut -d'"' -f4 | sed -e 's/$/\/.../' | tr '\n' ' '` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment