Files
encounterflow/Makefile

28 lines
560 B
Makefile
Raw Normal View History

2025-11-20 14:40:42 +01:00
# Simple helpers
PY ?= python
HOST ?= 0.0.0.0
PORT ?= 5050
TOKEN ?= changeme
DATA ?=
.PHONY: install dev run test seed clean
install:
$(PY) -m pip install -U pip
$(PY) -m pip install -e . -r requirements-dev.txt
dev:
$(PY) -m pip install -r requirements-dev.txt
run:
$(PY) -m battleflow.cli --host $(HOST) --port $(PORT) --token $(TOKEN) $(if $(DATA),--data-dir $(DATA),)
test:
pytest -q
seed:
curl -s -X POST "http://$(HOST):$(PORT)/admin/seed_icons?token=$(TOKEN)" >/dev/null || true
clean:
rm -rf .pytest_cache .coverage build dist *.egg-info