Files
EMS-ESP32/scripts/update_all.sh
2024-11-29 10:17:22 +01:00

30 lines
462 B
Bash

#!/bin/sh
# run from root
# make sure ncu is installed globally (https://github.com/raineorshine/npm-check-updates)
# as well as GNUMake (make) and python3
cd interface
rm -rf yarn.lock node_modules
ncu -u
yarn set version stable
yarn
yarn format
yarn lint
cd ../mock-api
rm -rf yarn.lock node_modules
ncu -u
yarn set version stable
yarn
yarn format
cd ..
cd interface
yarn build; yarn webUI
cd ..
npx cspell "**"
sh ./scripts/generate_csv_and_headers.sh