Files
ragnar/Makefile
T
retoor e62701c28c feat: implement dynamic bot list with runtime add/remove support
Adds a new BotManager class that maintains a mutable list of active bots, allowing bots to be added or removed at runtime without restarting the application. Includes thread-safe operations for concurrent access and a new API endpoint to query the current bot roster.
2024-12-19 12:02:24 +00:00

25 lines
389 B
Makefile

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