mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-09-13 05:34:34 +00:00
update
This commit is contained in:
+17
-11
@@ -3,28 +3,34 @@
|
|||||||
# run from root folder, like `sh ./scripts/update_all.sh`
|
# run from root folder, like `sh ./scripts/update_all.sh`
|
||||||
# as well as GNUMake (make) and python3
|
# as well as GNUMake (make) and python3
|
||||||
|
|
||||||
|
# abort on first error so a failed lint/build isn't silently swallowed
|
||||||
|
set -e
|
||||||
|
|
||||||
cd interface
|
cd interface
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
corepack use pnpm@latest-10
|
corepack use pnpm@latest
|
||||||
pnpm update --latest
|
pnpm update
|
||||||
pnpm install
|
pnpm install
|
||||||
pnpm format
|
pnpm format
|
||||||
pnpm lint
|
pnpm lint
|
||||||
|
pnpm build-webUI
|
||||||
|
|
||||||
cd ../mock-api
|
cd ../mock-api
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
corepack use pnpm@latest-10
|
corepack use pnpm@latest
|
||||||
pnpm update --latest
|
pnpm update
|
||||||
pnpm install
|
pnpm install
|
||||||
pnpm format
|
pnpm format
|
||||||
|
|
||||||
cd ..
|
|
||||||
cd interface
|
|
||||||
pnpm build-webUI
|
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
npx cspell "**"
|
npx cspell "**"
|
||||||
|
|
||||||
# platformio run -e build_modbus
|
# build files that go into docs folder
|
||||||
# platformio run -e build_standalone
|
|
||||||
# platformio run -e native-test -t exec
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user