-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
55 lines (48 loc) · 1.09 KB
/
Taskfile.yml
File metadata and controls
55 lines (48 loc) · 1.09 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '3'
tasks:
default:
desc: 'Default task is to "build"'
deps:
- build
list:
desc: 'Lists available tasks'
cmds:
- task --list-all
tidy:
desc: 'Tidy all'
cmds:
- go mod tidy
sources:
- "*.go"
- "data/**/**/*.go"
- "internal/**/*.go"
- go.mod
- go.sum
build:
desc: 'Build the dank-mcp service'
deps: [tidy]
cmds:
- go build -o bin/dank-mcp
generates:
- bin/dank-mcp
sources:
- "*.go"
- "data/**/**/*.go"
- "internal/**/*.go"
- go.mod
- go.sum
clean-cache:
desc: 'Clean cache dir'
cmds:
- rm -rf .dank
clean:
desc: 'Clean all build products'
deps: [clean-cache]
cmds:
- rm -f bin/dank-mcp
stdio-schema:
desc: 'Extracts the schema from the stdio server'
deps: [build]
cmds:
- echo '{"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}' | ./bin/dank-mcp --no-fetch 2>/dev/null
- echo '{"method":"resources/list","params":{},"jsonrpc":"2.0","id":1}' | ./bin/dank-mcp --no-fetch 2>/dev/null