chore: add build_metadata script
This commit is contained in:
parent
1045d8b11c
commit
6a65495b50
7 changed files with 658 additions and 0 deletions
18
scripts/Makefile
Normal file
18
scripts/Makefile
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue