Source

tw2.jqplugins.fg / development-deps / develop-tw2-destroy-and-setup.sh

#!/bin/bash -e

devbase=development-deps
venv=$devbase/virtualenv-tw2.jquery.ui
$(
    rm -rf $venv
) || echo "Did not destroy $venv"

virtualenv $venv --no-site-packages

source $venv/bin/activate

pushd $devbase

hg clone http://bitbucket.org/paj/tw2core || echo "tw2core exists."
hg clone http://bitbucket.org/paj/tw2devtools || echo "tw2devtools exists."
hg clone http://bitbucket.org/paj/tw2forms || echo "tw2devtools exists."
git clone git://github.com/ralphbean/tw2.jquery.core.git || echo "tw2.jquery.core exists."

pip install genshi
pip install formencode

pushd tw2core ;  python setup.py develop ; popd
pushd tw2forms ; python setup.py develop ; popd
pushd tw2devtools ; python setup.py develop ; popd
pushd tw2.jquery.core ; python setup.py develop ; popd

pushd # $devbase
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.