Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

prune: add ability to strip tests #858

Closed
adg opened this issue Jul 20, 2017 · 2 comments
Closed

prune: add ability to strip tests #858

adg opened this issue Jul 20, 2017 · 2 comments
Labels

Comments

@adg
Copy link
Contributor

adg commented Jul 20, 2017

It would be great if dep prune would strip tests.

Currently my update process is:

    $ dep ensure -update
    $ dep prune
    $ find vendor -name '*_test.go' -delete

It'd be nice to roll the last command into prune, especially since prune already strips testdata directories.

@sdboyer
Copy link
Member

sdboyer commented Jul 21, 2017

yep, definitely should have this. i need to write up an issue specifically outlining how to move prune back into ensure.

@sdboyer
Copy link
Member

sdboyer commented Aug 11, 2017

now that we have #944, closing this in favor of that 😄

@sdboyer sdboyer closed this as completed Aug 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants