Ivan Kravets
Ivan Kravets
Thanks for the issue. We will think about how to fix it. A temporary solution is to use [Advanced Scripting](https://docs.platformio.org/en/latest/scripting/index.html) and extra script: ```python import os if os.path.isfile(".gitignore"): os.remove(".gitignore") ```
This is not a problem of PlatformIO Core. You need to use a declarative approach based on semantic versioning. See: - https://docs.platformio.org/en/latest/core/migration.html#migration-steps - https://docs.platformio.org/en/latest/librarymanager/dependencies.html Could you share your `platformio.ini` file?
> after the update a few days ago, there is a problem on my colleague's computer. Win10 is used, and PIO is run on vscode. Could you provide more details...
Please reopen if you still need help
> But, is it an expected behaviour with the global libraries that scripts are executed unconditionally? Yes, when we look for dependencies we analyze all libraries according to the storage...
I forgot you can use `lib_ignore` to skip some libs.
I see. Need to think about if it is possible to fix it with minimal effort.
> or an extra script with Did you use `pre:` extra script?
Thanks! I'll think about how to implement this.
Is it possible to solve this on our part?