mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
Add test Makefiles for IDEs
Add Wizard test script
This commit is contained in:
1 parent
5af2de635e
commit
f3cd74cb46
7 files changed
+173
-12
No files matched your search
@@ -0,0 +1,16 @@
|
||||
ROOT ?= $(realpath $(CURDIR)/../..)
|
||||
PROJECTS ?= $(wildcard ../../examples/esp32/*)
|
||||
TARGET ?= Debug
|
||||
DOCKER = docker run --rm -v $(ROOT):$(ROOT) -v $(CURDIR):/root -w $(CURDIR)
|
||||
IMAGE ?= espressif/idf
|
||||
|
||||
|
||||
all: $(PROJECTS)
|
||||
echo
|
||||
|
||||
$(PROJECTS): FORCE
|
||||
(make -C $@ build && make -C $@ clean) || ( \
|
||||
$(DOCKER) $(IMAGE) /bin/bash -c 'cd $@ && idf.py build' && \
|
||||
rm -rf build sdkconfig )
|
||||
|
||||
FORCE:
|
||||
Reference in new issue
Block a user