Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Makefile for MetasploitMCP - Modern Poetry-based Development Workflow

.PHONY: help install dev-install test test-unit test-integration test-coverage test-watch lint format type-check pre-commit clean build publish dev-setup check ci docs serve-docs
.PHONY: help install dev-install test test-unit test-integration test-coverage test-watch lint format type-check pre-commit clean build sbom publish dev-setup check ci docs serve-docs

# Colors for output
BLUE := \033[36m
Expand Down Expand Up @@ -152,6 +152,11 @@ build: ## Build & Deploy: Build the package
poetry build
@echo "$(GREEN)✓ Package built successfully!$(RESET)"

sbom: ## Build & Deploy: Regenerate the CycloneDX SBOM (sbom.json) from poetry.lock
@echo "$(BLUE)Generating SBOM...$(RESET)"
poetry run python scripts/generate_sbom.py
@echo "$(GREEN)✓ sbom.json updated!$(RESET)"

publish-test: build ## Build & Deploy: Publish to test PyPI
@echo "$(BLUE)Publishing to test PyPI...$(RESET)"
poetry publish --repository testpypi
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fastapi = ">=0.95.0"
uvicorn = {extras = ["standard"], version = ">=0.22.0"}
pymetasploit3 = ">=1.0.6"
mcp = ">=1.6.0"
fastmcp = ">=2.10.3"
fastmcp = ">=2.10.3,<3.4.0"
psutil = "^7.1.3"

[tool.poetry.group.dev.dependencies]
Expand Down
Loading
Loading