.PHONY: lint format test install-dev example-setup example-run

install-dev:
	pip install -e ".[dev]"

lint:
	ruff check django_shreck/ tests/

format:
	ruff format django_shreck/ tests/

test:
	pytest tests/ -v


# ── Example app ──────────────────────────────────────────────────────────────
example-setup:
	cd example && python manage.py migrate && python manage.py seed_data

example-run:
	cd example && python manage.py shreck

