update git hook with yarn
This commit is contained in:
parent
705084a0b0
commit
14e260a56e
|
@ -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' ]]
|
||||||
|
|
Loading…
Reference in New Issue