don't build web on pio clean target

This commit is contained in:
Proddy
2023-05-27 09:42:50 +02:00
parent 91f0da84d2
commit 8b948bc521

View File

@@ -57,8 +57,5 @@ def buildWeb():
finally:
os.chdir("..")
if (len(BUILD_TARGETS) == 0 or "upload" in BUILD_TARGETS):
if not (env.IsCleanTarget()):
buildWeb()
else:
print("Skipping build web interface for target(s): " + ", ".join(BUILD_TARGETS))