mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
14 lines
257 B
Python
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()
|