Skip to content

Latest commit

 

History

History
89 lines (64 loc) · 2.11 KB

buildpacks.md

File metadata and controls

89 lines (64 loc) · 2.11 KB

heroku buildpacks

scripts used to compile apps

heroku buildpacks

display the buildpack_url(s) for an app

USAGE
  $ heroku buildpacks

OPTIONS
  -a, --app=app        (required) [default: safe-sea-44297] app to run command against
  -r, --remote=remote  git remote of app to use

EXAMPLES
  $ heroku buildpacks -a myapp
  === myapp Buildpack URL
  heroku/ruby

heroku buildpacks:add URL

add new app buildpack, inserting into list of buildpacks if necessary

USAGE
  $ heroku buildpacks:add URL

OPTIONS
  -a, --app=app        (required) [default: safe-sea-44297] app to run command against
  -i, --index=index    the 1-based index of the URL in the list of URLs
  -r, --remote=remote  git remote of app to use

EXAMPLES
  $ heroku buildpacks:add -i 1 https://github.com/heroku/heroku-buildpack-ruby

heroku buildpacks:clear

clear all buildpacks set on the app

USAGE
  $ heroku buildpacks:clear

OPTIONS
  -a, --app=app        (required) [default: safe-sea-44297] app to run command against
  -r, --remote=remote  git remote of app to use

heroku buildpacks:remove [URL]

remove a buildpack set on the app

USAGE
  $ heroku buildpacks:remove [URL]

OPTIONS
  -a, --app=app        (required) [default: safe-sea-44297] app to run command against
  -i, --index=index    the 1-based index of the URL to remove from the list of URLs
  -r, --remote=remote  git remote of app to use

heroku buildpacks:set URL

set new app buildpack, overwriting into list of buildpacks if necessary

USAGE
  $ heroku buildpacks:set URL

OPTIONS
  -a, --app=app        (required) [default: safe-sea-44297] app to run command against
  -i, --index=index    the 1-based index of the URL in the list of URLs
  -r, --remote=remote  git remote of app to use

EXAMPLES
  $ heroku buildpacks:set -i 1 heroku/ruby