mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
force a build for WebUI
This commit is contained in:
@@ -109,12 +109,14 @@ def build_webUI(*args, **kwargs):
|
|||||||
print("Web interface build failed!")
|
print("Web interface build failed!")
|
||||||
env.Exit(1)
|
env.Exit(1)
|
||||||
env.Exit(0)
|
env.Exit(0)
|
||||||
|
|
||||||
# Create custom target that only runs the script and then exits, without continuing with the pio workflow
|
# Create custom target that only runs the script and then exits, without continuing with the pio workflow
|
||||||
env.AddCustomTarget(
|
env.AddCustomTarget(
|
||||||
name="build",
|
name="build",
|
||||||
dependencies=None,
|
dependencies=None,
|
||||||
actions=[build_webUI],
|
actions=[build_webUI],
|
||||||
title="build web interface",
|
title="build web interface",
|
||||||
description="installs pnpm packages, updates libraries and builds web UI"
|
description="installs pnpm packages, updates libraries and builds web UI",
|
||||||
|
always_build=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user