39b34f60a6
Stable public release! Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
32 lines
530 B
Makefile
32 lines
530 B
Makefile
#!/usr/bin/make -f
|
|
|
|
.DEFAULT_GOAL := help
|
|
|
|
SHELL ?= bash
|
|
|
|
VENVS = $(shell ls -1d venv/*/ | sort -u | xargs basename -a)
|
|
|
|
.PHONY: all
|
|
all: venvs
|
|
|
|
include venv_template.mk
|
|
|
|
.PHONY: venvs
|
|
venvs:
|
|
$(foreach venv,$(VENVS),venv.$(venv))
|
|
|
|
$(foreach venv,$(VENVS),$(eval $(call VENV_template,$(venv))))
|
|
|
|
submodules:
|
|
@git submodule init
|
|
@git submodule update --recursive --remote
|
|
|
|
clean:
|
|
rm -rf venv.*
|
|
|
|
pytest-local:
|
|
@echo "⇒ Run Pytest"
|
|
python -m pytest pytest_tests/testsuites/
|
|
|
|
help:
|
|
@echo "⇒ run Run testcases ${R}"
|