You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdir TheLib
mkdir TheLib/src
touch TheLib/src/TheLib.h
touch TheLib/src/TheLib.cpp
touch TheLib/platformio.ini
cd TheLib
pio run
cd ..
pio lib -g install ./TheLib
pio lib -g uninstall TheLib
I would expect my source code to still be under ~/git/TheLib and ~/.platformio/lib/TheLib removed.
But at this stage the source folder ~/git/TheLib is deleted by pio and ~/.platformio/lib/TheLib still exists.
Doing a second
pio lib -g uninstall TheLib
Removes ~/.platformio/lib/TheLib
To reproduce this behavior:
mkdir TheLib
mkdir TheLib/src
touch TheLib/src/TheLib.h
touch TheLib/src/TheLib.cpp
touch TheLib/platformio.ini
cd TheLib
pio run
cd ..
pio lib -g install ./TheLib
pio lib -g uninstall TheLib
I would expect my source code to still be under ~/git/TheLib and ~/.platformio/lib/TheLib removed.
But at this stage the source folder ~/git/TheLib is deleted by pio and ~/.platformio/lib/TheLib still exists.
Doing a second
pio lib -g uninstall TheLib
Removes ~/.platformio/lib/TheLib
See: Discussion
The text was updated successfully, but these errors were encountered: