heroku-buildpack-cleanup

by bullet-train-co

README.md

Note: We've forked this buildpack to help mitigate the risk of a supply chain attack where applications can become compromised via the compromised repo of a third-party buildpack. You should also consider forking this repo and linking to your own copy of it for the same reason.

Big thanks to Hirotaka Ikoma for making this available to everyone!


heroku-buildpack-cleanup

Remove files that are specified in a .slugcleanup file.

Usage

$ heroku buildpacks:add https://github.com/syginc/heroku-buildpack-cleanup.git

$ cat .slugcleanup
gradle*
node_modules

License

MIT

CLI Installation

For new applications:

$ heroku create --buildpack https://github.com/bullet-train-co/heroku-buildpack-cleanup.git

For existing applications:

$ heroku buildpacks:set https://github.com/bullet-train-co/heroku-buildpack-cleanup.git -a YOUR_APP_NAME