update git hook with yarn

This commit is contained in:
codl 2017-08-31 22:42:59 +02:00
parent 705084a0b0
commit 14e260a56e
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ while read old new refname; do
cd /home/codl/forget cd /home/codl/forget
source venv/bin/activate source venv/bin/activate
env -u GIT_DIR -u GIT_WORK_TREE pip install -r requirements.txt env -u GIT_DIR -u GIT_WORK_TREE pip install -r requirements.txt
yarn
tools/write-version.sh tools/write-version.sh
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' ]]