Created
November 7, 2018 19:36
-
-
Save GauntletWizard/21685212382c194074bd44efdf10abd1 to your computer and use it in GitHub Desktop.
Bazel godep
This file contains hidden or 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
| # List current version of a go get installed package | |
| # For bazel, I need the munged name, it's github location, and current HEAD. | |
| git -C "$(go list -f '{{.Dir}}' gopkg.in/yaml.v2)" rev-parse HEAD | |
| git -C "$(go list -f '{{.Dir}}' gopkg.in/yaml.v2)" remote get-url origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment