-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (26 loc) · 851 Bytes
/
Makefile
File metadata and controls
36 lines (26 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# FairAd — dev commands
.PHONY: setup-dev dev install test lint typecheck clean
setup-dev:
pip install -e ".[dev]"
install:
pip install -e .
dev:
@echo "Run Merchant MCP: python -m mcp_server.server"
@echo "Run discovery: python examples/run_discovery.py <domain>"
@echo "Generate PoI: python scripts/poi_generator.py --help"
python -m mcp_server.server
dev-api:
python scripts/run_api.py
test:
pytest tests/ -v
coverage:
pytest tests/ --cov=api --cov=core --cov=discovery --cov=interfaces --cov=mcp_server --cov=settlement --cov-report=term-missing --cov-fail-under=87
lint:
ruff check . && ruff format --check .
typecheck:
@python -m mypy . 2>/dev/null || true
format:
ruff format .
clean:
rm -rf build/ dist/ *.egg-info .pytest_cache .ruff_cache
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true