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
matterbridge
test-kosmi
capture-auth
monitor-ws
test-image-upload
test-long-title
test-proper-roomcodes
test-roomcode-image
test-session
test-upload
test-websocket
test-websocket-direct
cmd/kosmi-client/kosmi-clien
cmd/kosmi-client/kosmi-client
# Binaries (anchored to repo root so cmd/ source dirs aren't excluded)
/matterbridge
/test-kosmi
/capture-auth
/monitor-ws
/test-image-upload
/test-long-title
/test-proper-roomcodes
/test-roomcode-image
/test-session
/test-upload
/test-websocket
/test-websocket-direct
/cmd/kosmi-client/kosmi-clien
/cmd/kosmi-client/kosmi-client
/cmd/get-kosmi-token/get-kosmi-token
*.exe
*.dll
*.so