Back to project.

Raw source file available here .

ENV=./.venv/bin/activate
PYTHON=./.venv/bin/python
BIN=./.venv/bin
all: ensure_env format build install test

format:
$(PYTHON) -m pip install shed
. $(ENV) && python -m shed

ensure_env:
-@python3 -m venv .venv

build:
$(PYTHON) -m pip install build
$(PYTHON) -m build .

install:
$(PYTHON) -m pip install -e .

run:
$(BIN)/ragnar.run

test:
$(PYTHON) -m unittest ragnar.tests