add test for examples in generated ST pack

This commit is contained in:
Sergio R. Caprile 2023-08-04 13:38:25 -03:00
parent 90ae36fea2
commit 4efacaa8f8

View File

@ -22,3 +22,14 @@ packcreator:
clean: clean:
rm -rf Files rm -rf Files
rm *.pack 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: