From ba00c7dab8ea982fc3fdbfc7062234adbe1fcc0e Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sat, 22 Aug 2026 17:01:16 -0400 Subject: ignore the binaries go build leaves at the module root "go build ./cmd/x" writes the binary to the current directory, not to bin/, so pim/caldavfs and gui/spike were showing up as new files a stray "git add ." would have committed. Anchored with a leading slash so a source file of the same name deeper in the tree still counts. Co-Authored-By: Claude Opus 5 --- pim/.gitignore | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pim') diff --git a/pim/.gitignore b/pim/.gitignore index 28b5357..637cff0 100644 --- a/pim/.gitignore +++ b/pim/.gitignore @@ -1,3 +1,14 @@ +# mk.sh puts binaries here bin/ + +# "go build ./cmd/x" from the module root drops the binary in the +# current directory, not in bin/. Anchored with a leading / so a source +# file of the same name deeper in the tree is still tracked. +/icalfs +/caldavfs +/cal9 + +# and "go build" inside a cmd directory leaves it there cmd/*/icalfs +cmd/*/caldavfs cmd/*/cal9 -- cgit v1.2.3