fastmcp/justfile
Jeremiah Lowin e9aad2eacb feat: Add --workspace flag to fastmcp install cursor (#1522)
Co-authored-by: Jeremiah Lowin <jlowin@users.noreply.github.com>
Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
2025-08-19 20:10:12 +00:00

29 lines
No EOL
912 B
Makefile

# Build the project
build:
uv sync
# Run tests
test: build
uv run --frozen pytest -xvs tests
# Run pyright on all files
typecheck:
uv run --frozen pyright
# Serve documentation locally
docs:
cd docs && npx --yes mint@latest dev
# Generate API reference documentation for all modules
api-ref-all:
uvx --with-editable . --refresh-package mdxify mdxify@latest --all --root-module fastmcp --anchor-name "Python SDK" --exclude fastmcp.contrib
# Generate API reference for specific modules (e.g., just api-ref prefect.flows prefect.tasks)
api-ref *MODULES:
uvx --with-editable . --refresh-package mdxify mdxify@latest {{MODULES}} --root-module fastmcp --anchor-name "Python SDK"
# Clean up API reference documentation
api-ref-clean:
rm -rf docs/python-sdk
copy-context:
uvx --with-editable . --refresh-package copychat copychat@latest src/ docs/ -x changelog.mdx -x python-sdk/ -v