projects-dir.mk: Support check targets
Add support for the targets "check" and "check-post" to projects-dir.mk to make them usable from inside the projects directory. Note that "check-pre" is intentionally left out: Running "make check" in a project before its prerequisite projects have built their __init__.py files will fail due to broken import resolution. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e1ccbc1115
commit
d306e8cbdc
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ PROJECTS_WITH_PROJECT_CONF = $(patsubst %/make/project.conf,%,$(wildcard $(add
|
|||
# --- mandatory targets
|
||||
|
||||
all:
|
||||
all test: $(filter-out $(UNAVAILABLE_TARGETS),pull.done)
|
||||
all test check check-pre check-post: $(filter-out $(UNAVAILABLE_TARGETS),pull.done)
|
||||
$(JW_PKG_PY_BUILD) $@ $(TARGET_PROJECTS)
|
||||
clean: clean-dirs
|
||||
distclean: clean-all-dirs done.clean
|
||||
|
|
|
|||
Loading…
Reference in a new issue