3 ROOT=$(git rev-parse --show-toplevel)
5 find $ROOT -name '*.py' | xargs etags -o ${ROOT}/TAGS
6 if [ -n "$VIRTUAL_ENV" ]; then
7 find ${VIRTUAL_ENV}/lib -name '*.py' |xargs etags -a -o ${ROOT}/TAGS
9 echo "No Virtual env enabled, will not add it to TAGS"
12 find $ROOT/wolnelektury/static/css -name '*.css' |xargs etags -a -o ${ROOT}/TAGS
13 find $ROOT/wolnelektury/static/js -name '*.js' |xargs etags -a -o ${ROOT}/TAGS