Commit c58fdf78 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧 Committed by Romain Bignon
Browse files

Remove stale .pyc files before tests and local run

This should make running tests faster, as we do not remove all .pyc
files anymore!
parent 11ed5938
......@@ -7,4 +7,6 @@ if [ -z "${PYTHON}" ]; then
which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
${PYTHON} "$(dirname $0)/"
exec "${PYTHON}" "$(dirname $0)/" "$@"
......@@ -62,7 +62,7 @@ fi
# path to sources
WEBOOB_DIR=$(readlink -e $(dirname $0)/..)
find $WEBOOB_DIR -name "*.pyc" -delete
${PYTHON} "$(dirname $0)/"
echo "file://$WEBOOB_DIR/modules" > "${WEBOOB_TMPDIR}/sources.list"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment