doit: a more radical way to clean up

This commit is contained in:
codl 2017-08-20 20:22:53 +02:00
parent ae19b326af
commit 9c0d28ad4d
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ while read old new refname; do
FLASK_APP='forget.py' flask db upgrade FLASK_APP='forget.py' flask db upgrade
if [[ $(git diff --name-only ${old}..${new} dodo.py) == 'dodo.py' ]] if [[ $(git diff --name-only ${old}..${new} dodo.py) == 'dodo.py' ]]
then then
doit forget rm -rf static
mkdir static
fi fi
doit doit
) )