negativetwelve / heroku-buildpack-subdir

Deploy apps from subdirectories to Heroku
77 stars 61 forks source link

Source .profile.d scripts from buildpacks in subdirs #11

Open Photonios opened 6 years ago

Photonios commented 6 years ago

This implements the solution I described in #10 and removes the need for copying specific directories. See the additions I made to the readme for more details.

Although sourcing of the .profile.d scripts is the desired behavior (see heroku docs), it might cause unintended side effects for those who have been using this buildpack already. That's why I've hidden this new feature behind a flag SUBDIR_ENABLE_PROFILE_SOURCING.