-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 921 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (25 loc) · 921 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
.PHONY: install dev test format clean run inspect
install:
@command -v uv >/dev/null 2>&1 || (echo "Installing uv..." && curl -LsSf https://astral.sh/uv/install.sh | sh)
@echo "Installing ax-mcp..."
@uv pip install -e .
@echo "✅ Installation complete!"
install-dev:
@command -v uv >/dev/null 2>&1 || (echo "Installing uv..." && curl -LsSf https://astral.sh/uv/install.sh | sh)
@echo "Setting up development environment..."
@uv venv
@uv pip install -e ".[dev]"
@echo "✅ Dev environment ready!"
test:
@uv run pytest tests/ -v --tb=short || true
format:
@uv run ruff check --fix .
@uv run black .
clean:
@rm -rf build/ dist/ *.egg-info .pytest_cache .ruff_cache .mypy_cache
@find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
@echo "✅ Cleaned build artifacts"
run:
@uv run python -m axiomatic_mcp
inspect:
@npx @modelcontextprotocol/inspector uv run python -m axiomatic_mcp