Remove stale .pyc files before tests and local run
This should make running tests faster, as we do not remove all .pyc files anymore!
This commit is contained in:
parent
11ed593880
commit
c58fdf786c
2 changed files with 3 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ fi
|
|||
|
||||
# path to sources
|
||||
WEBOOB_DIR=$(readlink -e $(dirname $0)/..)
|
||||
find $WEBOOB_DIR -name "*.pyc" -delete
|
||||
${PYTHON} "$(dirname $0)/stale_pyc.py"
|
||||
echo "file://$WEBOOB_DIR/modules" > "${WEBOOB_TMPDIR}/sources.list"
|
||||
|
||||
export WEBOOB_WORKDIR="${WEBOOB_TMPDIR}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue