Mercurial > hg > autobot
view INSTALL.sh @ 137:14430c384556
* fix syntax error
* correctly unroll a list or something
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 24 Jan 2011 12:30:29 -0800 |
parents | 288397616e5f |
children | 13a2a66b1c41 |
line wrap: on
line source
#!/usr/bin/bash # installation script for autobot, the A*Team buildbot REPO='http://k0s.org/mozilla/hg/autobot' DEST='autobot' # name of the virtualenv if [ "$#" != "0" ] then DEST=$1 fi if which virtualenv then virtualenv ${DEST} else curl https://bitbucket.org/ianb/virtualenv/raw/tip/virtualenv.py | python - ${DEST} fi cd ${DEST} . bin/activate # linux only mkdir src cd src hg clone ${REPO} cd autobot python setup.py develop # now you can run `create-autobot` to get a testing bot!