-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
dep: Fix error with scratch directory #2016
Conversation
26d47f4
to
28e2247
Compare
If dep already sees its scratch directory (.vendor-new), dep ensure fails. This rm -rf's that directory so make get_vendor_deps doesn't fail.
28e2247
to
f233003
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2016 +/- ##
========================================
Coverage 64.86% 64.86%
========================================
Files 115 115
Lines 6862 6862
========================================
Hits 4451 4451
Misses 2127 2127
Partials 284 284 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Did we ever have a clean
target that removed the entire vendor
directory?
We used to nuke the vendor directory. I had removed that since we started enforcing no branches being allowed in the toml. (Enforced in linting) This avoided us getting weird things with the vendor directory being out of sync. I don't think there is actually need to I think a clean command would be cool, for deleting all of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK, agreed on introducing make clean
If dep already sees its scratch directory (.vendor-new), dep ensure fails. This rm -rf's that directory so that
make get_vendor_deps
doesn't fail.For Admin Use: