Skip to content

Add just clean for ignored build artifacts - #783

Open
tony wants to merge 1 commit into
masterfrom
just-clean
Open

tony wants to merge 1 commit into
masterfrom
just-clean

Conversation

@tony

@tony tony commented Oct 17, 2026

Copy link
Copy Markdown
Member

just clean removes gitignored build output and leaves untracked files in place. .env and .env.* stay.

just clean-dry prints that set. just nuke also removes untracked files, after a confirmation. git clean -x does not consult .gitignore, so nuke names .env in -e instead of negating it.

@codecov

codecov Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.45%. Comparing base (e5cb17c) to head (582e9d7).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #783      +/-   ##
==========================================
+ Coverage   52.37%   52.45%   +0.08%     
==========================================
  Files          26       26              
  Lines        3729     3729              
  Branches      747      747              
==========================================
+ Hits         1953     1956       +3     
+ Misses       1472     1469       -3     
  Partials      304      304              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

why: .gitignore already names rebuildable output. A shell rm
list drifts across Windows and Unix, and git clean -x keeps
only positive -e patterns, so a negated .env exclude still
deletes .env.

what:
- Add clean and clean-dry with git clean -fdX, keeping .env
- Add nuke with git clean -fdx and a confirm prompt, naming
  .env so it stays

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant