🔧 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 b2a0ee5e08
commit 4d6af13134
2 changed files with 17 additions and 3 deletions

View File

@ -3,9 +3,13 @@
"PostToolUse": [
{
"matcher": "Write|Edit",
"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
"hooks": [
{
"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
}
]
}
]
}

View File

@ -9,6 +9,16 @@
"type": "stdio",
"command": "crates-mcp",
"args": []
},
"drone-ci-mcp": {
"command": "npx",
"args": [
"-y",
"drone-ci-mcp",
"--access-token=${DRONE_TOKEN}",
"--server-url=https://drone.cincoeuzebio.com"
]
}
}
}