Skip to content

Commit

Permalink
Update clean of virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
naspeh committed Sep 4, 2014
1 parent a48827a commit b3cf85d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ def process_args():
'cd /home/pusto/src'
'&& git fetch origin' +
'&& git checkout {}'.format(a.target) +
(
'&& rm -rf $(cat .venv) && virtualenv $(cat .venv)'
if a.clear else ''
) +
'&& source $(cat .venv)/bin/activate' +
('&& virtualenv --clear $(echo $VIRTUAL_ENV)' if a.clear else '') +
'&& ./bootstrap'
'&& ./pusto.py build -b build-tmp'
'&& rm -rf build'
Expand Down

0 comments on commit b3cf85d

Please sign in to comment.