Mercurial > hg > autobot
comparison INSTALL.sh @ 61:59bbfa7e67bb
make an actual working install script
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Tue, 11 Jan 2011 08:26:30 -0800 |
| parents | 8e14b6322cc7 |
| children | 04e41ee436c3 |
comparison
equal
deleted
inserted
replaced
| 60:33fd34a75990 | 61:59bbfa7e67bb |
|---|---|
| 1 virtualenv.py autobot | 1 # installation script for autobot, the A*Team buildbot |
| 2 | |
| 3 REPO='http://k0s.org/mozilla/hg/autobot' | |
| 4 DEST='autobot' # name of the virtualenv | |
| 5 | |
| 6 if [ "$#" != "0" ] | |
| 7 then | |
| 8 DEST=$1 | |
| 9 fi | |
| 10 | |
| 11 virtualenv ${DEST} | |
| 2 cd autobot | 12 cd autobot |
| 3 . bin/activate # linux only | 13 . bin/activate # linux only |
| 4 mkdir src | 14 mkdir src |
| 5 cd src | 15 cd src |
| 16 hg clone ${REPO} | |
| 17 cd autobot | |
| 18 python setup.py develop | |
| 19 | |
| 20 # now you can run `create-autobot` to get a testing bot! |
