Files
EMS-ESP32/scripts/refresh_module_library_native.py
2024-05-26 16:06:18 +02:00

12 lines
251 B
Python

import os
Import("env")
def refresh_module():
print("Fetching latest module for Native target...")
os.system("pio pkg install -f -s -e native -l file://../../modules/EMS-ESP-Modules")
if not (env.IsCleanTarget()):
refresh_module()