I’m working on a new organization of my lib called Luos : GitHub - Luos-io/luos: This Turborepo combines the whole documentation, website, services and blog about Luos.
In this new organization, I have examples on the lib (previously we had a specific repo for this, that was a mess), and also I have renamed the lib from
Luos_engine (Luos engine name have not been released yet).
Examples are normal Platformio projects with platformio.ini and stuff. I would like to make them compile using the Luos_engine local sources.
If I have the Luos_engine source on the folder pointed by
PLATFORMIO_LIB_EXTRA_DIRS everything works. But I want to make it straightforward for users so I added a
lib_extra_dirs = ../../../../../ on examples platformio.ini allowing them to find the lib source, and this is half working…
For example for a button example I get :
Scanning dependencies... Dependency Graph |-- <Button> 1.0.0 | |-- <Luos> 2.2.0 | | |-- <LuosHAL> 0.5.2 |-- <Luos_engine> 2.2.0
The nested dependency of Button is
luos/Luos_engine, but it find the
luos/Luos lib coming from the Platformio registry the other ones are coming from my local sources!
Is this normal?
Is there any simple way to make it compile using the local sources by default?