-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 740 Bytes
/
Makefile
File metadata and controls
33 lines (25 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.PHONY: help install index search test typecheck mcp clean
help:
@echo "KDD Toolkit (TypeScript/Bun)"
@echo ""
@echo " make install Install dependencies"
@echo " make index Index specs/ into .kdd-index/"
@echo " make search q=.. Hybrid search"
@echo " make test Run tests"
@echo " make typecheck Type-check with tsc"
@echo " make mcp Start MCP server"
@echo " make clean Remove node_modules and .kdd-index"
install:
bun install
index:
bun run packages/cli/src/cli.ts index specs/
search:
bun run packages/cli/src/cli.ts search --index-path .kdd-index "$(q)"
test:
bun test
typecheck:
bunx tsc --build
mcp:
bun run packages/mcp/src/mcp.ts
clean:
rm -rf node_modules .kdd-index