devranta/Makefile
retoor 81f00caa7e
Some checks failed
devranta build / build (push) Failing after 33s
Initial commit.
2024-12-02 17:41:02 +01:00

31 lines
408 B
Makefile

PYTHON=./.venv/bin/python
PIP=./.venv/bin/pip
BIN=./.venv/bin
all: format install build run test
ensure_env:
-@python3 -m venv .venv
install: ensure_env
$(PIP) install -e .
build: ensure_env
$(PIP) install build
$(PYTHON) -m build .
format: ensure_env
$(PIP) install shed
$(BIN)/shed src/devranta/*.py
test: ensure_env
$(PYTHON) -m unittest devranta.tests
run: ensure_env
$(BIN)/devranta