systeminfo

This commit is contained in:
2025-07-03 19:12:04 +03:00
parent 154e4a2779
commit 4eaaa35013
5 changed files with 89 additions and 785 deletions

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
HOST=i2c@10.0.0.11
build: dist/index.mjs
deploy: build
ssh $(HOST) "if [ -d dist ]; then rm -r dist; fi"
scp -r dist $(HOST):~/dist
dist/index.mjs: index.mjs
npx esbuild $^ --format=esm --external:i2c-bus --external:systeminformation --minify --bundle --platform=node --outfile=$@