bottle/brew

This commit is contained in:
Kenneth Reitz
2013-03-06 19:26:25 -05:00
parent 65888f8d01
commit d82f4f82d1
3 changed files with 11 additions and 3 deletions
+6 -2
View File
@@ -24,8 +24,7 @@ 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
$ heroku config:set AWS_ACCESS_KEY_ID=xxxx AWS_SECRET_ACCESS_KEY=xxxx
Usage
-----
@@ -33,6 +32,11 @@ Usage
Once deployed, building a forumla is simple::
$ heroku run ./brew <forumla> <bucket>
# Builds specified Python to ``./python``.
Releasing a forumla is simple::
$ heroku run ./bottle <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: $ bottle <formula> <bucket>
./build.sh -f $1 -p ./python -x $1.tar.bz2 -r $2
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# Usage: $ brew <formula> <bucket>
./build.sh -f $1 -p ./python -x $1.tar.bz2 -r $2
./build.sh -f $1 -p ./python