https://github.com/matteopolak/sweep
Sweep up heavy project files that are just collecting dust.
https://github.com/matteopolak/sweep
Last synced: about 1 month ago
JSON representation
Sweep up heavy project files that are just collecting dust.
- Host: GitHub
- URL: https://github.com/matteopolak/sweep
- Owner: matteopolak
- License: mit
- Created: 2023-12-28T18:30:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-29T20:50:16.000Z (over 1 year ago)
- Last Synced: 2025-02-16T18:46:32.121Z (4 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sweep
[](.github/workflows/build.yml)
[](LICENSE)Sweep up heavy project files that are just collecting dust.
## Using a custom `sweep.toml`
Sweep will look for a `sweep.toml` file in the current directory. If one is not found, it will use the [default configuration](cmd/sweep/sweep.toml).
The format of a `sweep.toml` file is the following:
```toml
[[sweep]]
# folder to delete
folder = "node_modules"
# one of the files required to be in the same directory
predicate = ["package.json", "package-lock.json"][[sweep]]
folder = "target"
predicate = ["Cargo.toml"]
```