This commit is contained in:
Oxan van Leeuwen 2021-09-15 19:13:30 +02:00
parent c69b88bb55
commit aed140d802

View file

@ -10,4 +10,4 @@ config = configparser.ConfigParser(inline_comment_prefixes=(';', ))
config.read(sys.argv[1]) config.read(sys.argv[1])
libs = [x for x in config['common']['lib_deps'].splitlines() if len(x) != 0] libs = [x for x in config['common']['lib_deps'].splitlines() if len(x) != 0]
subprocess.check_call(['platformio', 'lib', '-g', 'uninstall', *libs]) subprocess.check_call(['platformio', 'lib', '-g', 'install', *libs])