🔧 chore: adicionar drone-ci-mcp e corrigir formato do hook PostToolUse

This commit is contained in:
Cinco Euzebio 2026-02-28 22:20:42 -03:00
parent 5b5f6a3020
commit b194cf84e5
2 changed files with 17 additions and 3 deletions

View File

@ -3,10 +3,14 @@
"PostToolUse": [ "PostToolUse": [
{ {
"matcher": "Write|Edit", "matcher": "Write|Edit",
"hooks": [
{
"type": "command", "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'", "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 "timeout": 120
} }
] ]
} }
]
}
} }

View File

@ -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"
]
} }
} }
} }