forked from neo4j/mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
50 lines (47 loc) · 1.05 KB
/
Taskfile.yml
File metadata and controls
50 lines (47 loc) · 1.05 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
# https://taskfile.dev
version: "3"
# env:
# NEO4J_URI: "bolt://localhost:7687"
# # NEO4J_USERNAME: "neo4j"
# # NEO4J_PASSWORD: "password"
# NEO4J_DATABASE: "neo4j"
# NEO4J_MCP_TRANSPORT: "http"
# NEO4J_MCP_HTTP_PORT: "8080"
tasks:
build:
cmds:
- go build -C cmd/neo4j-mcp -o ../../bin/ {{.CLI_ARGS}}
run:
cmds:
- go run ./cmd/neo4j-mcp
run:compiled:
cmds:
- ./bin/neo4j-mcp {{.CLI_ARGS}}
generate:
cmds:
- go generate ./...
# pass CLI args as task:test -- -v
test:
cmds:
- go test ./... {{.CLI_ARGS}}
test:unit:
cmds:
- go test ./internal/... {{.CLI_ARGS}}
test:int:
cmds:
- go test -tags=integration ./test/integration/... {{.CLI_ARGS}}
test:e2e:
cmds:
- go test -tags=e2e ./test/e2e/... {{.CLI_ARGS}}
test:clean:
cmds:
- go clean -testcache
lint:
cmds:
- golangci-lint run
inspect:
cmds:
- npx @modelcontextprotocol/inspector go run ./cmd/neo4j-mcp
interactive-client:
cmds:
- go run ./client/... bin/neo4j-mcp