Files
EMS-ESP32/scripts/update_web.sh
2024-11-28 11:22:21 +01:00

19 lines
259 B
Bash

#!/bin/sh
# run from root
# make sure ncu is installed globally (https://github.com/raineorshine/npm-check-updates)
cd interface
ncu -u
yarn set version stable
yarn
yarn format
yarn lint
cd ../mock-api
ncu -u
yarn set version stable
yarn
yarn format
cd ..