build_webUI -> build-webUI

This commit is contained in:
proddy
2026-04-19 19:09:45 +02:00
parent f186f2a8f2
commit ece08d96ee
8 changed files with 10 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ jobs:
- name: Build webUI - name: Build webUI
run: | run: |
platformio run -e build_webUI platformio run -e build-webUI
- name: Build modbus - name: Build modbus
run: | run: |

View File

@@ -39,7 +39,7 @@ jobs:
- name: Build webUI - name: Build webUI
run: | run: |
platformio run -e build_webUI platformio run -e build-webUI
- name: Build modbus - name: Build modbus
run: | run: |

View File

@@ -47,7 +47,7 @@ jobs:
- name: Build webUI - name: Build webUI
run: | run: |
platformio run -e build_webUI platformio run -e build-webUI
- name: Build modbus - name: Build modbus
run: | run: |

View File

@@ -17,7 +17,7 @@
"preview-standalone": "typesafe-i18n --no-watch && vite build && concurrently -c \"auto\" \"pnpm:mock-rest\" \"vite preview\"", "preview-standalone": "typesafe-i18n --no-watch && vite build && concurrently -c \"auto\" \"pnpm:mock-rest\" \"vite preview\"",
"standalone": "concurrently -c \"auto\" \"typesafe-i18n\" \"pnpm:mock-rest\" \"vite dev\"", "standalone": "concurrently -c \"auto\" \"typesafe-i18n\" \"pnpm:mock-rest\" \"vite dev\"",
"typesafe-i18n": "typesafe-i18n --no-watch", "typesafe-i18n": "typesafe-i18n --no-watch",
"build_webUI": "typesafe-i18n --no-watch && vite build && node progmem-generator.js", "build-webUI": "typesafe-i18n --no-watch && vite build && node progmem-generator.js",
"format": "prettier -l -w '**/*.{ts,tsx,js,css,json,md}'", "format": "prettier -l -w '**/*.{ts,tsx,js,css,json,md}'",
"lint": "eslint . --fix", "lint": "eslint . --fix",
"standalone-devcontainer": "concurrently -c \"auto\" \"typesafe-i18n\" \"pnpm:mock-rest\" \"vite --host\"" "standalone-devcontainer": "concurrently -c \"auto\" \"typesafe-i18n\" \"pnpm:mock-rest\" \"vite --host\""

View File

@@ -20,7 +20,7 @@ my_build_flags =
[platformio] [platformio]
default_envs = s_16M_P ; BBQKees E32V2 default_envs = s_16M_P ; BBQKees E32V2
; default_envs = build_webUI ; build the web interface only ; default_envs = build-webUI ; build the web interface only
; default_envs = s3_16M_P ; BBQKees S3 ; default_envs = s3_16M_P ; BBQKees S3
; default_envs = s_4M ; BBQKees older S32, 4MB no psram ; default_envs = s_4M ; BBQKees older S32, 4MB no psram
; default_envs = s_16M ; BBQKees newer S32 V2, 16MB no psram ; default_envs = s_16M ; BBQKees newer S32 V2, 16MB no psram

View File

@@ -109,7 +109,7 @@ lib_deps =
; https://github.com/emsesp/EMS-ESP-Modules.git @ 1.0.8 ; https://github.com/emsesp/EMS-ESP-Modules.git @ 1.0.8
; builds the web interface only, not the firmware ; builds the web interface only, not the firmware
[env:build_webUI] [env:build-webUI]
platform = native platform = native
targets = build targets = build
extra_scripts = pre:scripts/build_interface.py extra_scripts = pre:scripts/build_interface.py

View File

@@ -74,7 +74,7 @@ def buildWeb():
# Run pnpm commands in the interface directory # Run pnpm commands in the interface directory
commands = [ commands = [
f"{pnpm_exe} install", f"{pnpm_exe} install",
f"{pnpm_exe} build_webUI" f"{pnpm_exe} build-webUI"
] ]
for command in commands: for command in commands:
@@ -102,7 +102,7 @@ def buildWeb():
return False return False
def build_webUI(*args, **kwargs): def build-webUI(*args, **kwargs):
success = buildWeb() success = buildWeb()
if not success: if not success:
print("Web interface build failed!") print("Web interface build failed!")
@@ -114,7 +114,7 @@ def build_webUI(*args, **kwargs):
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 always_build=True

View File

@@ -20,7 +20,7 @@ pnpm format
cd .. cd ..
cd interface cd interface
pnpm build_webUI pnpm build-webUI
cd .. cd ..
npx cspell "**" npx cspell "**"