chore: add build_metadata script

This commit is contained in:
jo 2023-02-12 15:41:10 +01:00
commit 6a65495b50
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
7 changed files with 658 additions and 0 deletions

18
scripts/Makefile Normal file
View file

@ -0,0 +1,18 @@
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)