Anchor binary patterns in .gitignore to repo root

Prefix binary names with / so they only match compiled binaries at the
repo root, not cmd/ source directories of the same name (e.g. test-kosmi
was hiding cmd/test-kosmi/). Also add get-kosmi-token binary entry.

Made-with: Cursor
This commit is contained in:
cottongin
2026-04-05 05:51:30 -04:00
parent d314193540
commit d533bd5f3e

31
.gitignore vendored
View File

@@ -1,18 +1,19 @@
# Binaries # Binaries (anchored to repo root so cmd/ source dirs aren't excluded)
matterbridge /matterbridge
test-kosmi /test-kosmi
capture-auth /capture-auth
monitor-ws /monitor-ws
test-image-upload /test-image-upload
test-long-title /test-long-title
test-proper-roomcodes /test-proper-roomcodes
test-roomcode-image /test-roomcode-image
test-session /test-session
test-upload /test-upload
test-websocket /test-websocket
test-websocket-direct /test-websocket-direct
cmd/kosmi-client/kosmi-clien /cmd/kosmi-client/kosmi-clien
cmd/kosmi-client/kosmi-client /cmd/kosmi-client/kosmi-client
/cmd/get-kosmi-token/get-kosmi-token
*.exe *.exe
*.dll *.dll
*.so *.so