Files
EMS-ESP32/scripts/update_all.sh
2026-06-06 16:39:17 +02:00

31 lines
502 B
Bash

#!/bin/sh
# run from root folder, like `sh ./scripts/update_all.sh`
# as well as GNUMake (make) and python3
cd interface
rm -rf node_modules
corepack use pnpm@latest
pnpm update --latest
pnpm install
pnpm format
pnpm lint
cd ../mock-api
rm -rf node_modules
corepack use pnpm@latest
pnpm update --latest
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