Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider showing test-only dependencies #5

Open
thepudds opened this issue Sep 28, 2020 · 1 comment
Open

consider showing test-only dependencies #5

thepudds opened this issue Sep 28, 2020 · 1 comment

Comments

@thepudds
Copy link

The ability to more easily see what are test-only dependencies for modules is a common request for cmd/go.

Consider supporting it here, either by highlighting a test-only dependency or by highlighting a non-test dependency.

There are different ways to determine this, but one way is this, which shows the modules used in your build excluding test-only dependencies:

go list -deps -f '{{with .Module}}{{.Path}} {{.Version}}{{end}}' ./... | sort -u
@josharian
Copy link
Contributor

I'd be happy to review a PR that implemented this. Maybe it'd be another entry in the L/W/M/bomb column?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants