mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
update modules
This commit is contained in:
11
scripts/refresh_module_library_native.py
Normal file
11
scripts/refresh_module_library_native.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user