new brew command

This commit is contained in:
Kenneth Reitz
2013-03-06 19:19:01 -05:00
parent 48f95bb465
commit 65888f8d01
2 changed files with 18 additions and 11 deletions
+14 -11
View File
@@ -15,22 +15,25 @@ Official support for:
See also, `full list <https://github.com/kennethreitz/python-versions/tree/master/formula>`_.
Deployment
----------
::
$ git clone git@github.com:kennethreitz/python-versions.git
$ heroku create
$ git push heroku master
$ heroku config:set AWS_ACCESS_KEY_ID=xxxx AWS_SECRET_ACCESS_KEY=xxxx S3_BUCKET=xxx
Usage
-----
Once deployed, building a forumla is simple::
$ heroku run <forumla>
"./build.sh -f $1 -p ./python -x $1.tar.bz2 -r envy-versions"
Configuration
-------------
Fairly self explanatory:
- ``AWS_ACCESS_KEY_ID``
- ``AWS_SECRET_ACCESS_KEY``
$ heroku run ./brew <forumla> <bucket>
# Builds specified Python and uploads the resulting tarball to the given S3 bucket.
Distribution "Spec"
-------------------
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Usage: $ brew <formula> <bucket>
./build.sh -f $1 -p ./python -x $1.tar.bz2 -r $2