-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (23 loc) · 662 Bytes
/
Makefile
File metadata and controls
33 lines (23 loc) · 662 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
.PHONY: install lint format test build deploy ship_it start mcp_inspector clean
install:
uv sync
lint:
uv run mypy --strict mcp_server_indexnow/
uv run ruff check --fix mcp_server_indexnow/
format:
uv run ruff format mcp_server_indexnow/
test:
uv run pytest mcp_server_indexnow \
--doctest-modules \
--junitxml=reports/test-results-$(shell cat .python-version).xml
build: clean
uv run build
deploy: install build
ship_it: build
git push
start:
uv run mcp_server_indexnow/main.py
mcp_inspector:
npx @modelcontextprotocol/inspector uv --directory ${PWD} run mcp_server_indexnow/main.py
clean:
rm -rf dist/ build/ reports/ *.egg-info/ *cache