From caf1b8d0d83e3ff8ce51676e97a626cba2046b59 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 19 May 2026 00:05:46 +0200 Subject: [PATCH] Add Makefile target for goTool web dashboard. gotool-serve runs serve with configurable SERVE_ADDR (default :8080). Co-authored-by: Cursor --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b1670df..a60c391 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,10 @@ GOTOOL_RUN := cd $(GOTOOL_DIR) && go run . -port $(PORT) .PHONY: default proto_generate proto_generate_uart proto_generate_espnow \ gotool-build gotool-proto gotool-tidy gotool-test-units \ gotool-version gotool-clients gotool-unicast-test gotool-deadzone-get gotool-deadzone-set \ - gotool-test + gotool-test gotool-serve TEST_CONFIG ?= example-lab +SERVE_ADDR ?= :8080 TEST_SCENARIO ?= smoke default: @@ -62,4 +63,7 @@ gotool-test-units: gotool-test: $(GOTOOL) $(GOTOOL) -port $(PORT) test -config $(TEST_CONFIG) -scenario $(TEST_SCENARIO) +gotool-serve: $(GOTOOL) + $(GOTOOL) -port $(PORT) serve -addr $(SERVE_ADDR) + $(GOTOOL): gotool-build