Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

Ignores dependencies only present in "_test" packages #56

Closed
mstine opened this issue Feb 13, 2014 · 0 comments
Closed

Ignores dependencies only present in "_test" packages #56

mstine opened this issue Feb 13, 2014 · 0 comments

Comments

@mstine
Copy link

mstine commented Feb 13, 2014

I'm using Ginkgo, but this would be true for regular tests as well I reckon.

When running godep save, the resulting json does not include any dependencies that are only present in "_test" packages.

e.g. my code is in package foo, tests are in foo_test.

If foo_test imports github.com/onsi/ginkgo, but no non-"_test" package imports it, then ginkgo will be excluded from Godeps.

I've worked around this by moving everything out of "_test" packages for now, but that's not an ideal solution.

Thanks!

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

No branches or pull requests

1 participant