Add Makefile target for goTool web dashboard.

gotool-serve runs serve with configurable SERVE_ADDR (default :8080).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
simon 2026-05-19 00:05:46 +02:00
parent c4696657a7
commit caf1b8d0d8

View File

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