funquail/scripts/Makefile

18 lines
280 B
Makefile
Raw Normal View History

2023-02-12 15:41:10 +01:00
SHELL = bash
CPU_CORES = $(shell N=$$(nproc); echo $$(( $$N > 4 ? 4 : $$N )))
.PHONY: install test clean
# Install
VENV = .venv
export POETRY_VIRTUALENVS_IN_PROJECT=true
install: $(VENV)
$(VENV):
poetry install
test: $(VENV)
poetry run pytest -s -vv
clean:
rm -Rf $(VENV)