chore(gitignore): ignore only the root build binary, not the cmd/myday source
The bare `myday` pattern matched any path component named `myday`, including the `cmd/myday/` source directory — so `cmd/myday/main.go` (the entrypoint) could never be committed and a fresh clone would not build. Anchor it to the repo root (`/myday`); the built binary still falls out of git.
This commit is contained in:
parent
57610cdbae
commit
cb6897b1a3
1 changed files with 1 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -19,7 +19,7 @@ data/
|
||||||
|
|
||||||
# --- Go build output ---
|
# --- Go build output ---
|
||||||
/bin/
|
/bin/
|
||||||
myday
|
/myday
|
||||||
*.exe
|
*.exe
|
||||||
|
|
||||||
# --- editor / OS ---
|
# --- editor / OS ---
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue