From 208c0da9fefe420e0a501dd36f79d8d4b8f92c51 Mon Sep 17 00:00:00 2001 From: dipto0321 Date: Thu, 2 Jul 2026 02:28:09 +0600 Subject: [PATCH] chore(ci): gitignore the local bin/ and coverage.out `make build` writes ./bin/nodeup and `make test` writes coverage.out, both of which are local artefacts. Neither is something the repo should ever commit, but neither was in .gitignore - so they showed up as untracked on every `git status`, cluttering the view of what's actually changed during a PR. Add /bin/ with a comment explaining that the npm wrapper's postinstall script populates a *different* `bin/` under `nodeup-npm/node_modules/` (handled by `nodeup-npm/.npmignore`, not the root gitignore). Also add `coverage.out` next to the existing `coverage.html` / `coverage.txt` lines. Co-Authored-By: Sonnet 4.6 --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 1590f95..ebb1d82 100644 --- a/.gitignore +++ b/.gitignore @@ -11,11 +11,19 @@ nodeup.md *.out coverage.txt coverage.html +coverage.out *.coverprofile vendor/ .idea/ .vscode/ +# `make build` writes the nodeup binary here. Gitignored so local +# builds don't show up as untracked on every `git status`. The +# npm wrapper's `install.js` populates a *different* `bin/` under +# `nodeup-npm/node_modules/` — that one is in `nodeup-npm/.npmignore`, +# not here. +bin/ + # GoReleaser dist/