.PHONY: install test lint typecheck run dry-run

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

test:
	pytest tests/ -v

test-unit:
	pytest tests/ -v -m "not integration"

test-integration:
	pytest tests/ -v -m integration

lint:
	ruff check .

typecheck:
	mypy src/

run:
	python -m ai_usecases_explorer.main

dry-run:
	python -m ai_usecases_explorer.main --dry-run

setup-cron:
	@echo "Add the following line to crontab (crontab -e):"
	@echo "0 7 * * * /root/projects/ai_usecases_explorer/venv/bin/python -m ai_usecases_explorer.main >> /var/log/ai_usecases_scout.log 2>&1"
