force a build for WebUI

This commit is contained in:
proddy
2025-10-25 14:14:42 +02:00
parent 4c30e930cf
commit 90038e08dc

View File

@@ -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
) )