Skip to content

Commit

Permalink
Add show-deps.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pwaller committed Feb 7, 2016
1 parent 080d5b4 commit 3a34e3c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions show-deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# A short utility to show packages used recursively.
# Useful for spotting missed vendorings.

go list -f '{{range .Deps}}{{.}}{{"\n"}}{{end}}' . |
xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' |
sort -u

0 comments on commit 3a34e3c

Please sign in to comment.