Back to project.

Raw source file available here .

BIN = ./.venv/bin/
PYTHON = ./.venv/bin/python
PIP = ./.venv/bin/pip

all: build

ensure_env:
-@python3 -m venv .venv

format: ensure_env
$(PIP) install shed
. $(BIN)/activate && shed

build: format
$(PIP) install -e .
$(PIP) install build
$(PYTHON) -m build

serve: ensure_env
$(BIN)rbabel.serve --host=0.0.0.0 --port=3011 --url=wss://flock.molodetz.nl

bench: ensure_env
$(BIN)rbabel.bench --url=http://localhost:3011/