summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/.gitignore9
-rw-r--r--pim/.gitignore11
2 files changed, 20 insertions, 0 deletions
diff --git a/gui/.gitignore b/gui/.gitignore
index b10d965..7613431 100644
--- a/gui/.gitignore
+++ b/gui/.gitignore
@@ -1,3 +1,12 @@
# cross-compiled guest binaries
*.9
probe/hello-go1.*
+
+# "go build ./cmd/x" drops the binary in the current directory
+/spike
+/hello
+/text
+/cal
+cmd/*/spike
+cmd/*/hello
+cmd/*/text
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