From b1ebd81ca2ddc552e867d4196717048a9bdea25c Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 1 Aug 2026 16:43:55 +0200 Subject: [PATCH] update --- scripts/update_all.sh | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/scripts/update_all.sh b/scripts/update_all.sh index 283e892c5..45a725f41 100644 --- a/scripts/update_all.sh +++ b/scripts/update_all.sh @@ -3,28 +3,34 @@ # run from root folder, like `sh ./scripts/update_all.sh` # as well as GNUMake (make) and python3 +# abort on first error so a failed lint/build isn't silently swallowed +set -e + cd interface rm -rf node_modules -corepack use pnpm@latest-10 -pnpm update --latest +corepack use pnpm@latest +pnpm update pnpm install pnpm format pnpm lint +pnpm build-webUI cd ../mock-api rm -rf node_modules -corepack use pnpm@latest-10 -pnpm update --latest +corepack use pnpm@latest +pnpm update pnpm install pnpm format -cd .. -cd interface -pnpm build-webUI - cd .. npx cspell "**" -# platformio run -e build_modbus -# platformio run -e build_standalone -# platformio run -e native-test -t exec +# build files that go into docs folder + +platformio run -e build_modbus -t clean +platformio run -e build_modbus +platformio run -e build_standalone -t clean +platformio run -e build_standalone + +# run tests +platformio run -e native-test -t exec