From 101dec5be00a0f9d36880c98167f681bc8a6e9b6 Mon Sep 17 00:00:00 2001 From: Blake Mizerany Date: Fri, 2 Sep 2011 18:20:18 -0700 Subject: [PATCH] README --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..1a401e53 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# Go language pack + +*Use* + + $ cat all.sh + #!/bin/sh + set -e + GOPATH="$PWD" + export GOPATH + goinstall ./src/prettydemo/prettydemo + + $ heroku create --stack cedar + $ heroku config:add LANGUAGE_PACK_URL="https://user:pass@github.com/heroku/language-pack-go.git" + $ git push heroku master + +*Go versions* + +You can use whichever version of Go you like; The default is `release.r59`. This language pack builds Go on your first deploy according to the `GOVERSION` environment variable set. You can change this with `heroku config:add GOVERSION=weekly.2011-1-1` for example, or even a SHA. + +Once built, the language pack will keep it cached for future deploys, until you change the GOVERSION. + +*Demo* +You can find the demo here: +https://gist.github.com/e4c1ceeb90624acc45b9 + +*TODO* + +Create a cron job to build releases and cache in this repo to avoid the build step for tagged releases.