mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
don't build web on pio clean target
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user