Commits

Ralph Bean  committed b93d591

beefed up dev scripts

  • Participants
  • Parent commits 4475cf2

Comments (0)

Files changed (1)

File development-deps/develop-tw2-destroy-and-setup.sh

 #!/bin/bash -e
 
 devbase=development-deps
-venv=$devbase/virtualenv-tw2.jquery.ui
+venv=$devbase/virtualenv-tw2.jquery
 $(
     rm -rf $venv
 ) || echo "Did not destroy $venv"
 
 source $venv/bin/activate
 
+pip install genshi
+pip install formencode
+
 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
+hg clone http://bitbucket.org/paj/tw2core || \
+        pushd tw2core && hg pull && popd
+hg clone http://bitbucket.org/paj/tw2devtools || \
+        pushd tw2devtools && hg pull && popd
+hg clone http://bitbucket.org/paj/tw2forms || \
+        pushd tw2forms && hg pull && popd
+git clone git://github.com/ralphbean/tw2.jquery.core.git || \
+        pushd tw2.jquery.core && git pull && popd
+git clone git://github.com/ralphbean/tw2.jquery.ui.git || \
+        pushd tw2.jquery.ui && git pull && popd
 
 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 tw2.jquery.ui ; python setup.py develop ; popd
 
 pushd # $devbase