From c9d0f681d1c1c228ff89e765fef032498ceb65b9 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Fri, 4 Aug 2023 13:38:25 -0300 Subject: [PATCH] add test for examples in generated ST pack --- extra/stm_exp_pack/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/extra/stm_exp_pack/Makefile b/extra/stm_exp_pack/Makefile index bae13f5a..1fa84744 100644 --- a/extra/stm_exp_pack/Makefile +++ b/extra/stm_exp_pack/Makefile @@ -22,3 +22,14 @@ packcreator: clean: rm -rf Files rm *.pack + + +# Test examples included in new pack to be released +testexamples: unpack + $(MAKE) -f ../../test/cube/Makefile "PROJECTS=$(wildcard Projects/*/Examples/*)" + rm -rf Projects + +unpack: FORCE + unzip -x Cesanta.I-CUBE-Mongoose.*.pack Projects/* + +FORCE: