Skip to content

BOOKATIGER/heroku-buildpack-slug-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-slug-cleanup Build Status

Remove files that are specified in a .slugcleanup file.

Usage

$ heroku buildpacks:add https://github.com/BOOKATIGER/heroku-buildpack-slug-cleanup
$ heroku config:set NODE_APP="my_app"

This buildpack will look for .slugcleanup in the root folder and in the folder pointed by the NODE_APP environment variable (if provided)

The purpose is to reduce Your slugsize in case you have multiple projects in your repository by keeping only the files you need in your build.

Tests

You can run tests for this repository by using docker or docker-compose:

# docker-compose
$ docker-compose up
# docker
$ docker build -t bookatiger/heroku-buildpack-slug-cleanup .
$ docker run bookatiger/heroku-buildpack-slug-cleanup

Or by using heroku directly by following the instructions here

License

MIT

Original inspiration from

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages