mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
Add some claude stuff
This commit is contained in:
parent
9134abeefd
commit
697cd441aa
2 changed files with 7 additions and 2 deletions
|
|
@ -2,11 +2,11 @@
|
|||
"hooks": {
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Edit|Write",
|
||||
"matcher": "Edit|Write|MultiEdit",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "jq -r '.tool_input.file_path // empty' | xargs -I{} gofumpt -w {}"
|
||||
"command": "jq -r '.tool_input.file_path // empty' | { read -r f; case \"$f\" in *.go) gofumpt -w \"$f\" ;; esac; } 2>/dev/null || true"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
5
CLAUDE.md
Normal file
5
CLAUDE.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# CLAUDE.md
|
||||
|
||||
## Build & test
|
||||
- All Go commands need `GOFLAGS=-mod=vendor` (deps are vendored, including the `jesseduffield/gocui` fork and the Docker SDK).
|
||||
- Unit tests: `GOFLAGS=-mod=vendor go test ./...`
|
||||
Loading…
Add table
Reference in a new issue