-
-
Notifications
You must be signed in to change notification settings - Fork 800
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
package pack/publish ignores some folders #3730
Comments
Ok, found my answer probably in the Should this behavior be made more clear in the documentation? I see this was introduced 2 weeks ago. From the folders in my initial post, the docs should indeed not be included, and this is not my intention. But in my library I have a few |
Thanks! We will update docs. Have you tried to include things that you need? See https://docs.platformio.org/en/latest/librarymanager/config.html#include We try to keep libraries in small size and remove unused files in the build process. |
Yes, I tried including, but this did not work. Without fully understanding the code in result = ["+<%s>" % p for p in include or ["*", ".*"]]
result += ["-<%s>" % p for p in exclude or []]
result += ["-<%s>" % p for p in exclude_default] |
Thanks for the report! PlatformIO Core 5.0.3 is going to be released today. |
Thanks for the quick fix! |
Did you test it? Please run “pio upgrade —dev” |
Double dash before dev |
Yes, I can confirm that it works. Thanks a lot! |
The documentation states:
However, my library (https://github.com/maakbaas/esp8266-iot-framework) contains three folders not listed above
html/
,docs/
, andbuild/
that are not included in the tarball in PlatformIO 5.0.1. By default the export section in my library.json looks like this:even if I update my library.json export section to what is shown below, or several other iterations, these folders keep getting ignored.
If I rename
build/
tobuild2/
,docs/
todocs2/
andhtml/
tohtml2/
, these will be included in the tarball. Is there another hardcoded list of folder names that is not mentioned in the documentation that will be excluded?The text was updated successfully, but these errors were encountered: