Skip to content

Commit bbae320

Browse files
committed
Skip extra removals
1 parent 45d108b commit bbae320

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Add as a first buildpack in the chain. Set `PROJECT_PATH` environment variable t
88
1. `heroku buildpacks:add heroku/nodejs` or whatever buildpack you need for your application
99
1. `heroku config:set PROJECT_PATH=projects/nodejs/frontend` pointing to what you want to be a project root.
1010
1. `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.
1211
1. Deploy your project to Heroku.
1312

1413
# How it works

bin/compile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)