初始提交:codebase-memory-mcp - Codebase Memory MCP Server
Fork from https://github.com/DeusData/codebase-memory-mcp Go 实现,提供代码库记忆功能的 MCP 服务器
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Pre-commit hook: linters + security audit + build + tests.
|
||||
#
|
||||
# Activated automatically via scripts/setup.sh or manually:
|
||||
# git config core.hooksPath scripts/hooks
|
||||
|
||||
echo "pre-commit: running all linters in parallel..."
|
||||
make -j3 -f Makefile.cbm lint
|
||||
|
||||
echo "pre-commit: security audit (source-level)..."
|
||||
scripts/security-audit.sh
|
||||
|
||||
echo "pre-commit: building and running tests..."
|
||||
make -j$(sysctl -n hw.ncpu 2>/dev/null || nproc) -f Makefile.cbm test
|
||||
Reference in New Issue
Block a user