generator-buildpack

Heroku buildpack

Usage no npm install needed!

<script type="module">
  import generatorBuildpack from 'https://cdn.skypack.dev/generator-buildpack';
</script>

README

generator-buildpack Build Status Build Status

Yeoman generator for creating a custom Heroku buildpack.

Features

  • Generates buildpack scripts bin/detect, bin/compile and bin/release
  • shUnit2 based test script bin/test
  • Comes with a wrapper script test-in-docker to run bin/test in a cedar-like environment (progrium/cedarish)
  • Travis CI and Drone files

Getting Started

To install generator-buildpack from npm, run:

$ npm install -g generator-buildpack

Finally, initiate the generator:

$ mkdir heroku-buildpack-hello
$ cd $_
$ yo buildpack
Tell me about your custom Heroku buildpack.
[?] Buildpack for: hello
[?] Would you mind telling me your username on GitHub: amtrack

Info

Most of the stuff is stolen from the Buildpack API documentation and heroku/heroku-buildpack-python

License

MIT