Allows you to compose multiple buildpacks with apps in multiple directories. For information regarding adding multiple buildpacks, check out the official docs here.
This buildpack must be at index 1 and all buildpacks following should be at index 2 through N.
$ heroku buildpacks:set https://github.com/negativetwelve/heroku-buildpack-subdir
Example .buildpacks
file:
$ cat .buildpacks
api=https://github.com/heroku/heroku-buildpack-ruby.git
web=https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/heroku/heroku-buildpack-go
This would run:
- The first buildpack would
cd
into anapi
directory and use aruby
buildpack. - The second would
cd
into aweb
directory and use anode.js
buildpack. - The third would be in the root directory and use a
go
buildpack.
MIT