summaryrefslogtreecommitdiff
path: root/pim/.gitignore
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@pobox.com>2026-08-22 17:01:16 -0400
committerCalvin Morrison <calvin@pobox.com>2026-08-22 17:01:16 -0400
commitba00c7dab8ea982fc3fdbfc7062234adbe1fcc0e (patch)
treeebc1f0c9b29ef20ed9941b46f347c39907387627 /pim/.gitignore
parent560712f12a496678a703818dd51a1df9bdab77d2 (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'pim/.gitignore')
-rw-r--r--pim/.gitignore11
1 files changed, 11 insertions, 0 deletions
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