-
Notifications
You must be signed in to change notification settings - Fork 224
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
Upload .gitkeep files/empty directories when publishing #4262
Comments
Just to clarify:
They are indeed extracted if present: Lines 1042 to 1138 in c2592b3
|
Options for solving this:
@vashworth which of these would work? |
The current workaround is to add a
|
We decided as a workaround to use |
Let us include empty directories in the published tar-file. |
Flutter is working to adopt Swift Package Manager, and has run into an issue where directories with only a
.gitkeep
are not downloaded to pub-cache.For example, plugin
video_player_avfoundation
(version 2.6.0) hasvideo_player_avfoundation-2.6.0/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/include/.gitkeep
. However, in.pub-cache
, both theinclude
directory and the.gitkeep
file are not found. This is a problem for Swift Package Manager as it requires aninclude
directory.I would expect
/path/to/.pub-cache/hosted/pub.dev/video_player_avfoundation-2.6.0/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/include/.gitkeep
to existSee flutter/flutter#148002
The text was updated successfully, but these errors were encountered: