update comments

This commit is contained in:
proddy
2025-01-04 14:59:41 +01:00
parent 66ca1e52bb
commit 92108bc743
2 changed files with 4 additions and 2 deletions

View File

@@ -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"

View File

@@ -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