Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Remove .pyc files are part of the update script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Wenzel committed May 20, 2011
1 parent 9786e9c commit 218b9ee
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/update.sh
Original file line number Diff line number Diff line change
@@ -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...
Expand All @@ -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 -
Expand Down

0 comments on commit 218b9ee

Please sign in to comment.