зеркало из https://github.com/mozilla/markup.git
Remove .pyc files are part of the update script.
This commit is contained in:
Родитель
9786e9c1d4
Коммит
218b9eefb4
|
@ -1,9 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
CODE_DIR=markup
|
||||
CODE_DIR=`dirname $0`/..
|
||||
VENDOR_DIR=$CODE_DIR/ffdemo/vendor
|
||||
LOCALE_DIR=$CODE_DIR/ffdemo/locale
|
||||
PYTHON=python
|
||||
FIND=`which find`
|
||||
QUIET=-q
|
||||
|
||||
echo -e Updating code...
|
||||
|
@ -20,7 +21,12 @@ git merge origin/master $QUIET
|
|||
git submodule update $QUIET
|
||||
cd -
|
||||
|
||||
echo -e Migrating database..
|
||||
echo -e Wiping pyc files...
|
||||
cd $CODE_DIR/ffdemo
|
||||
$FIND . -name '*.pyc' -delete
|
||||
cd -
|
||||
|
||||
echo -e Migrating database...
|
||||
cd $CODE_DIR/ffdemo
|
||||
$PYTHON ./manage.py migrate markup
|
||||
cd -
|
||||
|
|
Загрузка…
Ссылка в новой задаче