Files
ragnar/Makefile
T
retoor e8fa37cb47
Build Ragnar anti spam bot / Build (push) Successful in 1m55s
Repaired build buildstep.
2024-12-13 23:36:18 +01:00

24 lines
379 B
Makefile

ENV=./.venv/bin/activate
PYTHON=./.venv/bin/python
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:
$(PYTHON) -m ragnar.run
test:
$(PYTHON) -m unittest ragnar.tests