Add an exclude
field in library.properties specification // allows files exclusion for library build
#9787
Labels
Component: Board/Lib Manager
Boards Manager or Library Manager
feature request
A request to make an enhancement (not a bug fix)
Hi,
Context: library with "extra" content
I'm using the library specification to publish a library to the Arduino Library.
I've recently added a build log section to my library, as part of the documentation.
Problem: extra content included in library zip, making it bulkier
These build logs contain many images, which are getting included with the rest of the library to the directory. The result is a library zip size inflation:

(See library profile)
This build logs directory was not intended to be published on the library directory / added to the final library zip.
Suggestion: add a mechanism for specifying files to be excluded from the library zip
Add an
exclude
field in thelibrary.properties
specification, allowing library publisher to define a list of files/files pattern to be excluded from the final library build. This would allows publisher to add extra content to their GitHub repositories without it to be systematically published along the library on the Arduino library directory.Related: arduino/arduino-cli#990 #5688
The text was updated successfully, but these errors were encountered: