local dependencies and libraries? #2818
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
topic: package-management
Related to the packaging and managing of the platform/libraries
type: enhancement
Proposed improvement
Add local library management
Arduino would be easier to use for library implementors, as well as easier to use with source control if two things were possible:
A) Allow for a Libraries folder underneath the sketch/project folder for locally loaded libraries. What this does is make it so library implementors can work on a custom library much more easily because with something like VS Code and Arduino Maker Workshop, or even just using the CLI with VS Code the project will bring the library under the auspices of its file management, meaning saved before compiling (Arduino Maker Workshop) and also the ability to have a newer (dev) version than the one in the shared libraries folder.
B) It would also be nice to have like a {sketch_name}.properties file or something that allows for a depends line.
Both of the above features would also make sharing projects a lot easier, because source control would have all of the necessary information for the person checking out to be able to build the project without a list of instructions for installing libraries.
Current behavior
Currently you have to use the shared Libraries folder, and there's no way for a sketch to specify dependent libraries, complicating source control and library development
Arduino CLI version
1.1.1
Operating system
Windows
Operating system version
Windows 11
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: