From ac60fb060414261935ac5e158b26b34e211e1e06 Mon Sep 17 00:00:00 2001 From: cirakg Date: Sun, 18 Oct 2026 23:44:18 +0200 Subject: feat(spike): add the M1 settings spike app and make targets A separate throwaway app (own app ID, no permissions) that shows what the Garmin Connect app delivers per settings field and writes values back, to measure the undocumented settings limits on the real phone and watch. Includes length-marked test strings, `make spike` / `make spike-sim`, `make vectors`, and step-by-step instructions in docs/SETTINGS_SPIKE.md. Co-Authored-By: Claude Opus 5.5 --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d53b836..5ffb028 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ DOCS_RUN = $(DOCKER) run --rm --init --label project=$(PROJECT) \ --read-only --tmpfs /tmp:rw,exec,nosuid,size=1g --shm-size 512m \ -v "$(ROOT)":/work -w /work --network none $(DOCS_IMAGE) -.PHONY: help image docs-image sdk key build test test-tools sim screenshots screenshots-approve perf memtest icons \ +.PHONY: help image docs-image sdk key build test test-tools sim screenshots screenshots-approve perf memtest icons vectors spike spike-sim \ lint package docs ci shell clean nuke lock products \ check-docker dirs need-image need-docs-image @@ -130,6 +130,15 @@ package: dirs need-image ## Signed .iq for the Store beta + per-device release . products: dirs need-image ## Check manifest products against the downloaded device files $(DEV_OFFLINE) python3 tools/gen_products.py --check +vectors: dirs need-image ## Regenerate test/data/Vectors.mc (cross-checked RFC/NIST test vectors) + $(DEV_OFFLINE) python3 tools/gen_vectors.py + +spike: dirs need-image ## Build the M1 settings spike (debug .prg + beta .iq) into build/spike + $(DEV_OFFLINE) build-spike.sh build + +spike-sim: dirs need-image ## Run the settings spike headless on DEVICE and screenshot it + $(DEV_OFFLINE) build-spike.sh sim $(DEVICE) + icons: dirs need-image ## Regenerate the launcher icons for every product (after changing manifest.xml) $(DEV_OFFLINE) sh -c 'python3 tools/make_icon.py --all --devices /home/dev/.Garmin/ConnectIQ/Devices && \ python3 tools/make_icon.py --size 60 --out resources/drawables/launcher_icon.png' -- cgit v1.2.3