mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
update comments
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# Builds the dump_*.csv files, modbus headers and modbus documentation.
|
# Builds the dump_*.csv files, modbus headers and modbus documentation.
|
||||||
# Run as `sh scripts/generate_csv_and_headers.sh` from the root of the repository.
|
# Run as `sh scripts/generate_csv_and_headers.sh` from the root of the repository.
|
||||||
|
|
||||||
# creat a dummy modbus_entity_parameters.hpp so the first pass compiles
|
# create a dummy modbus_entity_parameters.hpp so the first pass compiles
|
||||||
cat >./src/modbus_entity_parameters.hpp <<EOL
|
cat >./src/modbus_entity_parameters.hpp <<EOL
|
||||||
#include "modbus.h"
|
#include "modbus.h"
|
||||||
#include "emsdevice.h"
|
#include "emsdevice.h"
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# run from root folder
|
# run from root folder, like `sh ./scripts/update_all.sh`
|
||||||
# make sure ncu is installed globally (https://github.com/raineorshine/npm-check-updates)
|
# make sure ncu is installed globally (https://github.com/raineorshine/npm-check-updates)
|
||||||
# as well as GNUMake (make) and python3
|
# as well as GNUMake (make) and python3
|
||||||
|
|
||||||
cd interface
|
cd interface
|
||||||
rm -rf yarn.lock node_modules
|
rm -rf yarn.lock node_modules
|
||||||
|
touch yarn.lock
|
||||||
ncu -u
|
ncu -u
|
||||||
yarn set version stable
|
yarn set version stable
|
||||||
yarn
|
yarn
|
||||||
@@ -14,6 +15,7 @@ yarn lint
|
|||||||
|
|
||||||
cd ../mock-api
|
cd ../mock-api
|
||||||
rm -rf yarn.lock node_modules
|
rm -rf yarn.lock node_modules
|
||||||
|
touch yarn.lock
|
||||||
ncu -u
|
ncu -u
|
||||||
yarn set version stable
|
yarn set version stable
|
||||||
yarn
|
yarn
|
||||||
|
|||||||
Reference in New Issue
Block a user