File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ Add as a first buildpack in the chain. Set `PROJECT_PATH` environment variable t
881 . ` heroku buildpacks:add heroku/nodejs ` or whatever buildpack you need for your application
991 . ` heroku config:set PROJECT_PATH=projects/nodejs/frontend ` pointing to what you want to be a project root.
10101 . ` heroku config:set KEEPS=./dependencies:./vendor ` to specify what you want to keep using GLOBIGNORE syntax.
11- 1 . ` heroku config:set REMOVE_PATHS=./dependencies/other ./vendor/other ` to specify what you want to remove that was previously ignored.
12111 . Deploy your project to Heroku.
1312
1413# How it works
Original file line number Diff line number Diff line change @@ -42,14 +42,6 @@ if [ -f $ENV_DIR/PROJECT_PATH ]; then
4242 # Enter build dir
4343 cd $BUILD_DIR
4444 (GLOBIGNORE=" .:..:.buildpacks:$KEEPS " ; rm -rf ./* )
45-
46- # Optionally, remove some paths previously ignored
47- if [ -f $ENV_DIR /REMOVE_PATHS ]; then
48- REMOVE_PATHS=` cat $ENV_DIR /REMOVE_PATHS`
49- echo " removing $REMOVE_PATHS "
50- rm -rf $REMOVE_PATHS
51- fi
52-
5345 cd -
5446 # End entering build dir
5547
You can’t perform that action at this time.
0 commit comments