Files
EMS-ESP32/scripts/refresh_module_library_native.py
2024-09-25 17:32:31 +02:00

14 lines
257 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()