py-utils/Makefile
2025-06-20 20:19:32 +02:00

29 lines
640 B
Makefile

.PHONY: chore configure
chore: configure Pipfile.lock requirements-dev.txt
Pipfile.lock: .venv Pipfile
.venv/bin/pipenv lock
requirements-dev.txt: .venv Pipfile.lock
.venv/bin/pipenv requirements --dev-only > requirements-dev.txt
configure: configure.ac
autoconf
.venv: requirements-dev.txt
python3 -m venv .venv
.venv/bin/python3 -m pip install --upgrade pip
.venv/bin/pip install -r requirements-dev.txt
test-reports: test-reports/unit test-reports/static
test-reports/unit:
python3 -m pipenv run -v test-unit
test-reports/static:
python3 -m pipenv run -v test-static
build: .venv/bin/pipenv
.venv/bin/pipenv run build