🔧 chore: adicionar drone-ci-mcp e corrigir formato do hook PostToolUse
This commit is contained in:
parent
b2a0ee5e08
commit
4d6af13134
@ -3,9 +3,13 @@
|
|||||||
"PostToolUse": [
|
"PostToolUse": [
|
||||||
{
|
{
|
||||||
"matcher": "Write|Edit",
|
"matcher": "Write|Edit",
|
||||||
"type": "command",
|
"hooks": [
|
||||||
"command": "bash -c 'if [ -f Cargo.toml ]; then if command -v cargo-nextest >/dev/null 2>&1; then cargo nextest run 2>&1; else cargo test 2>&1; fi; fi'",
|
{
|
||||||
"timeout": 120
|
"type": "command",
|
||||||
|
"command": "bash -c 'if [ -f Cargo.toml ]; then if command -v cargo-nextest >/dev/null 2>&1; then cargo nextest run 2>&1; else cargo test 2>&1; fi; fi'",
|
||||||
|
"timeout": 120
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
10
.mcp.json
10
.mcp.json
@ -9,6 +9,16 @@
|
|||||||
"type": "stdio",
|
"type": "stdio",
|
||||||
"command": "crates-mcp",
|
"command": "crates-mcp",
|
||||||
"args": []
|
"args": []
|
||||||
|
},
|
||||||
|
"drone-ci-mcp": {
|
||||||
|
"command": "npx",
|
||||||
|
"args": [
|
||||||
|
"-y",
|
||||||
|
"drone-ci-mcp",
|
||||||
|
"--access-token=${DRONE_TOKEN}",
|
||||||
|
"--server-url=https://drone.cincoeuzebio.com"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user