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

repository_ctx.download_and_extract should create necessary directories #1235

Closed
colinmarc opened this issue May 4, 2016 · 2 comments
Closed
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug
Milestone

Comments

@colinmarc
Copy link
Contributor

This is exactly the same as #1078. repository_ctx.download_and_extract doesn't create the destination dir, so you have to do something like:

ctx.file(ctx.path("empty"), "")
ctx.download_and_extract(...)
@damienmg damienmg added type: bug P2 We'll consider working on this in future. (Assignee optional) category: skylark remote repositories labels May 6, 2016
@damienmg damienmg added this to the 0.4 milestone May 6, 2016
@zaphar
Copy link
Contributor

zaphar commented May 7, 2016

This bug caused my no end of confusion while implementing mono as an external repository. Thanks for the workaround 👍

@damienmg
Copy link
Contributor

This is a duplicate of #1172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug
Projects
None yet
Development

No branches or pull requests

3 participants