only build web with target -t build

This commit is contained in:
proddy
2025-10-24 16:25:28 +02:00
parent 39e724befe
commit 61962fbc07

View File

@@ -118,10 +118,3 @@ env.AddCustomTarget(
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"
) )
# this is if its called with the target=build, so it will continue with the pio workflow
if not (env.IsCleanTarget()):
success = buildWeb()
if not success:
print("Web interface build failed!")