Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
lib folder is automatically created everytime platformio.ini is modified #1473
What kind of issue is this?
[x] PlatformIO Core. If you’ve found a bug, please provide an information below.
Operating system: Ubuntu 17.10
PlatformIO Version (
Description of problem
I'm using a folder called libraries (instead of lib) for my private libraries, with the option platformio.ini > [platformio] > lib_dir = libraries. Everything is working fine; however, everytime I modify and save the platformio.ini file a lib folder appears inside the project's folder. I'm also using custom source folders with the src_dir option, but no src folder gets created (which is the expected behavior). Is there a way to stop this lib folder from being created?
Steps to Reproduce
A lib folder appears.
No lib folder appears, since I'm not using a folder called lib inside my project anymore.
If problems with PlatformIO Build System:
The content of
[platformio] lib_dir = libraries ; src_dir = src1 src_dir = src2 [env:uno] platform = atmelavr board = uno framework = arduino
I noticed the same thing happens with .gitignore file (appears when platformio.ini is modified). Can I choose to not have this file? I want to place multiple platformio projects in one repository, with only one .gitignore file: