Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 1.11 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.11 KB

Heroku Buildpack: Gb

This is the Heroku buildpack for Go projects organized as prescribed by gb tool.

It requires that gb itself is also vendored just like any other third-party packages your project might be using.

This buildpack will detect your repository as Go (GB) if it contains a .go file under src/... or vendor/src/....

Usage

Ensure your Heroku app is wired to use this buildpack:

heroku buildpacks:set https://github.com/paxan/heroku-buildpack-gb.git

This buildpack strives to default to the latest release of Go, but you can override it if necessary. For example:

heroku config:set GOVERSION=1.5.1

Credits

The source code found here has been remixed from the original Go buildpack.

The simplicity of the build step in bin/compile script can be blamed entirely on gb by @davecheney.