ENV=./.venv/bin/activate
all: ensure_env format build install test
format:
./.venv/bin/python -m pip install shed
. $(ENV) && python -m shed
ensure_env:
-@python3 -m venv .venv
build:
./.venv/bin/python -m pip install build
./.venv/bin/python -m build .
install:
./.venv/bin/python -m pip install -e .
run:
python -m ragnar.run
test:
./.venv/bin/python -m unittest ragnar.tests