aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
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'