Yeoman generator for creating a custom Heroku buildpack.
- Generates buildpack scripts
bin/detect
,bin/compile
andbin/release
- shUnit2 based test script
bin/test
- Comes with a wrapper script
test-in-docker
to runbin/test
in a cedar-like environment (progrium/cedarish) - Travis CI and Drone files
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
Most of the stuff is stolen from the Buildpack API documentation and heroku/heroku-buildpack-python
MIT