An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# Sweep

[![build status](https://github.com/matteopolak/sweep/actions/workflows/build.yml/badge.svg)](.github/workflows/build.yml)
[![license](https://img.shields.io/github/license/matteopolak/sweep.svg)](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"]
```