From c4b1ae8335de07c0288f8109ee1a2a23cbe7f970 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Sat, 3 Jan 2026 16:47:34 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Adds=20requirements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compile_proto_TEMP | 10 ---------- requirements.txt | 2 ++ 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 compile_proto_TEMP create mode 100644 requirements.txt diff --git a/compile_proto_TEMP b/compile_proto_TEMP deleted file mode 100644 index 48b5bc6..0000000 --- a/compile_proto_TEMP +++ /dev/null @@ -1,10 +0,0 @@ -This file is temporary, just to show how ot compile the proto files - -Make sure to actually create the output directories before executing the commands - -TS: -protoc --plugin="protoc-gen-ts_proto=$(Resolve-Path app\node_modules\.bin\protoc-gen-ts_proto.CMD)" --ts_proto_out="./app/src/lib/platform_shared" --ts_proto_opt=outputSchema=true --proto_path ".\platform_shared\" ".\platform_shared\rest_message.proto" ".\platform_shared\websocket_message.proto" - -C++ (nanopb): -pip install protobuf grpcio-tools -python ./submodules/nanopb/generator/nanopb_generator.py -I "./platform_shared/" -D ./esp32/src/platform_shared/ ./platform_shared/websocket_message.proto ./platform_shared/rest_message.proto \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..cc689df --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +protobuf +grpcio-tools \ No newline at end of file