mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-28 07:03:20 +08:00
- Go LSP cross-file type resolution engine (internal/cbm/lsp/) with C-based type registry, scope tracking, and Go stdlib data (30K+ definitions) - lsp_bridge.go: CrossFileDef struct and RunGoLSPCrossFile CGo bridge - config.go: persistent ConfigStore (SQLite) for auto_index, mem_limit settings - CLI config subcommand for get/set/list/delete operations - Store: edge batch upsert, project config columns, goleak test harness - Pipeline: prefetch parallelism, resolver improvements, memleak tests - CI: dry-run workflow improvements, vendor-grammar.sh enhancements
25 lines
524 B
Makefile
25 lines
524 B
Makefile
.PHONY: build test lint clean install check bench-memory
|
|
|
|
BINARY=codebase-memory-mcp
|
|
MODULE=github.com/DeusData/codebase-memory-mcp
|
|
|
|
build:
|
|
go build -o bin/$(BINARY) ./cmd/codebase-memory-mcp/
|
|
|
|
test:
|
|
go test ./... -v
|
|
|
|
check: lint test ## Run lint + tests
|
|
|
|
lint: ## Run golangci-lint
|
|
golangci-lint run --timeout=5m ./...
|
|
|
|
clean:
|
|
rm -rf bin/
|
|
|
|
install:
|
|
go install ./cmd/codebase-memory-mcp/
|
|
|
|
bench-memory: ## Run memory stability benchmark
|
|
go test -run TestMemoryStability -v -count=1 -timeout=5m ./internal/pipeline/
|