mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-09-13 05:34:34 +00:00
update modules
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import os
|
||||
|
||||
Import("env")
|
||||
|
||||
def run_native():
|
||||
print("Running native...")
|
||||
os.system("pio run -e native")
|
||||
|
||||
if not (env.IsCleanTarget()):
|
||||
run_native()
|
||||
|
||||
Reference in New Issue
Block a user