heroku-buildpack-slug-cleanup

by barkbox

GitHub Readme.md

Heroku Buildpack: app/assets Cleanup

Delete the app/assets directory

After assets are precompiled, they are moved to the public/assets directory. app/assets is not longer required, deleting this frees up space to get around the Heroku slug size limit

Usage

$ heroku buildpacks -a barkbox-dev-pr-6327
=== barkbox-dev-pr-6327 Buildpack URLs
1. https://github.com/DataDog/heroku-buildpack-datadog.git
2. https://github.com/timshadel/heroku-buildpack-github-netrc.git
3. heroku/nodejs
4. heroku/ruby

Add this to the last step.

$ heroku buildpacks:add --index 5 https://github.com/barkbox/heroku-buildpack-slug-cleanup -a barkbox-dev-pr-6327

Buildpack added. Next release on barkbox-dev-pr-6327 will use:
  1. https://github.com/DataDog/heroku-buildpack-datadog.git
  2. https://github.com/timshadel/heroku-buildpack-github-netrc.git
  3. heroku/nodejs
  4. heroku/ruby
  5. https://github.com/barkbox/heroku-buildpack-slug-cleanup.git