From c3c169b1fe81d13bd0b09279b67b89bf8f630f85 Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Tue, 22 Oct 2024 07:35:57 +0200 Subject: [PATCH] change makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0e4f40a..5a3a490 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ deploy: - ssh raspiwork 'cd /home/pi/Scripts/rust_mosquitto && git pull && make build' + cargo build --release --target aarch64-unknown-linux-gnu + #ssh raspiwork 'cd /home/pi/Scripts/rust_mosquitto && git pull && make build' build: cargo build --release sudo systemctl daemon-reload - sudo systemctl restart rust_mosquitto.service \ No newline at end of file + sudo systemctl restart rust_mosquitto.service