Skip to content

RoleModel/heroku-buildpack-slug-cleanup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Heroku Buildpack: app/assets Cleanup

Delete app/assets and node_modules folder

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

Usage

$ heroku buildpacks -a barkbox-dev
=== barkbox-dev 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#v0.2 -a barkbox-dev

Buildpack added. Next release on barkbox-dev 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#v0.2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%