sintonia/tools/Makefile
2021-09-07 23:03:19 +02:00

18 lines
257 B
Makefile

.PHONY: lint test
.ONESHELL:
SHELL := bash
CPU_CORES := $(shell nproc)
all: lint test
venv:
python3 -m venv venv
source venv/bin/active
pip install -r requirements-dev.txt
lint: venv
pylint tools
test: venv
pytest -n ${CPU_CORES} --color=yes -v .