36b642e23f
Universal: Cascade Main → Dev / Cascade main → branches (push) Successful in 1s
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 3s
Generic: Repo Health / Access control (push) Successful in 2s
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 3s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 3s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (push) Failing after 3s
MCP: Tool Inventory / inventory (push) Failing after 16s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / Line Length Check (push) Failing after 5s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Build & Release / Build, Validate & Release (push) Failing after 33s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 5s
MCP: Build & Validate / build (20) (push) Failing after 41s
MCP: Build & Validate / build (22) (push) Failing after 41s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / Binary File Detection (push) Successful in 3s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 33s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 49s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 4s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m2s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 20s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m5s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 5s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 4s
Universal: CodeQL Analysis / Security Scan Summary (push) Successful in 1s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 13s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 46s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 46s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 46s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 48s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 37s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 41s
MCP: Standards Compliance / Repository Health Check (push) Successful in 40s
MCP: Standards Compliance / Compliance Summary (push) Failing after 1s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Authored-by: Moko Consulting
71 lines
1.7 KiB
Makefile
71 lines
1.7 KiB
Makefile
# MCP Server Makefile
|
|
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
PROJECT_NAME := mcp_windows
|
|
PROJECT_VERSION := 1.0.0
|
|
|
|
NPM := npm
|
|
|
|
COLOR_RESET := \033[0m
|
|
COLOR_GREEN := \033[32m
|
|
COLOR_BLUE := \033[34m
|
|
|
|
.PHONY: help
|
|
help: ## Show this help message
|
|
@echo "$(COLOR_BLUE)$(PROJECT_NAME) v$(PROJECT_VERSION)$(COLOR_RESET)"
|
|
@echo ""
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " $(COLOR_BLUE)%-20s$(COLOR_RESET) %s\n", $$1, $$2}'
|
|
@echo ""
|
|
|
|
.PHONY: install-deps
|
|
install-deps: ## Install dependencies
|
|
@$(NPM) install
|
|
@echo "$(COLOR_GREEN)✓ Dependencies installed$(COLOR_RESET)"
|
|
|
|
MOKO_PLATFORM ?= $(or $(wildcard ../moko-platform),$(wildcard $(HOME)/moko-platform),$(wildcard /opt/moko-platform))
|
|
MINIFY_SCRIPT := $(MOKO_PLATFORM)/build/minify.js
|
|
|
|
.PHONY: minify
|
|
minify: ## Minify CSS/JS assets
|
|
@echo "Minifying assets..."
|
|
@if [ -f "$(MINIFY_SCRIPT)" ]; then \
|
|
node "$(MINIFY_SCRIPT)" $(SRC_DIR); \
|
|
elif [ -f "scripts/minify.js" ]; then \
|
|
node scripts/minify.js; \
|
|
else \
|
|
echo "No minify script found"; \
|
|
fi
|
|
|
|
.PHONY: build
|
|
build: minify ## Build TypeScript
|
|
@$(NPM) run build
|
|
@echo "$(COLOR_GREEN)✓ Build complete$(COLOR_RESET)"
|
|
|
|
.PHONY: dev
|
|
dev: ## Watch and rebuild on changes
|
|
@$(NPM) run dev
|
|
|
|
.PHONY: clean
|
|
clean: ## Clean build artifacts
|
|
@rm -rf dist
|
|
@echo "$(COLOR_GREEN)✓ Cleaned$(COLOR_RESET)"
|
|
|
|
.PHONY: setup
|
|
setup: ## Run interactive setup wizard
|
|
@$(NPM) run setup
|
|
|
|
.PHONY: start
|
|
start: ## Start the MCP server
|
|
@$(NPM) run start
|
|
|
|
.PHONY: lint
|
|
lint: ## Run linter
|
|
@$(NPM) run lint
|
|
|
|
.PHONY: ci
|
|
ci: install-deps build ## Run CI pipeline
|
|
@echo "$(COLOR_GREEN)✓ CI pipeline complete$(COLOR_RESET)"
|
|
|
|
.DEFAULT_GOAL := help
|