feat: 重构项目脚本结构和文档
docs: 添加API和部署文档 refactor: 重新组织脚本目录结构 fix: 修复Nomad配置中的region设置 chore: 移除过期节点相关配置 test: 更新MCP服务器测试脚本 build: 更新Makefile以适配新脚本路径
This commit is contained in:
14
Makefile
14
Makefile
@@ -10,7 +10,7 @@ help: ## 显示帮助信息
|
||||
# 环境设置
|
||||
setup: ## 设置开发环境
|
||||
@echo "🚀 设置开发环境..."
|
||||
@bash scripts/setup/setup-environment.sh
|
||||
@bash scripts/setup/environment/setup-environment.sh
|
||||
|
||||
# OpenTofu 操作
|
||||
init: ## 初始化 OpenTofu
|
||||
@@ -54,11 +54,11 @@ podman-down: ## 停止开发环境
|
||||
# 测试
|
||||
test: ## 运行测试
|
||||
@echo "🧪 运行测试..."
|
||||
@bash scripts/utilities/run-tests.sh
|
||||
@bash scripts/testing/test-runner.sh
|
||||
|
||||
test-mcp: ## 运行MCP服务器测试
|
||||
@echo "🧪 运行MCP服务器测试..."
|
||||
@./run_tests.sh
|
||||
@bash scripts/testing/mcp/test_local_mcp_servers.sh
|
||||
|
||||
test-kali: ## 运行Kali Linux快速健康检查
|
||||
@echo "🧪 运行Kali Linux快速健康检查..."
|
||||
@@ -74,12 +74,12 @@ test-kali-full: ## 运行Kali Linux完整测试套件
|
||||
|
||||
lint: ## 代码检查
|
||||
@echo "🔍 代码检查..."
|
||||
@bash scripts/utilities/lint.sh
|
||||
@bash scripts/ci-cd/quality/lint.sh
|
||||
|
||||
# 文档
|
||||
docs: ## 生成文档
|
||||
@echo "📚 生成文档..."
|
||||
@bash scripts/utilities/generate-docs.sh
|
||||
@bash scripts/ci-cd/build/generate-docs.sh
|
||||
|
||||
# 清理
|
||||
clean: ## 清理临时文件
|
||||
@@ -91,7 +91,7 @@ clean: ## 清理临时文件
|
||||
# 备份
|
||||
backup: ## 创建备份
|
||||
@echo "💾 创建备份..."
|
||||
@bash scripts/utilities/backup.sh
|
||||
@bash scripts/utilities/backup/backup-all.sh
|
||||
|
||||
# 监控
|
||||
monitor: ## 启动监控
|
||||
@@ -101,4 +101,4 @@ monitor: ## 启动监控
|
||||
# 安全扫描
|
||||
security-scan: ## 安全扫描
|
||||
@echo "🔒 安全扫描..."
|
||||
@bash scripts/utilities/security-scan.sh
|
||||
@bash scripts/ci-cd/quality/security-scan.sh
|
||||
Reference in New Issue
Block a user