From d82f4f82d1f860603dfefa2625fea3849248e81e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 6 Mar 2013 19:26:25 -0500 Subject: [PATCH] bottle/brew --- README.rst | 8 ++++++-- bottle | 4 ++++ brew | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100755 bottle diff --git a/README.rst b/README.rst index 1c9ab67..761f53f 100644 --- a/README.rst +++ b/README.rst @@ -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 + # Builds specified Python to ``./python``. + +Releasing a forumla is simple:: + + $ heroku run ./bottle # Builds specified Python and uploads the resulting tarball to the given S3 bucket. Distribution "Spec" diff --git a/bottle b/bottle new file mode 100755 index 0000000..55f7587 --- /dev/null +++ b/bottle @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Usage: $ bottle + +./build.sh -f $1 -p ./python -x $1.tar.bz2 -r $2 \ No newline at end of file diff --git a/brew b/brew index e84e0d2..466664c 100755 --- a/brew +++ b/brew @@ -1,4 +1,4 @@ #!/usr/bin/env bash # Usage: $ brew -./build.sh -f $1 -p ./python -x $1.tar.bz2 -r $2 \ No newline at end of file +./build.sh -f $1 -p ./python \ No newline at end of file