From 361f5a8e3f2520e2f63c9b2b432ccc51689e076a Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 7 Nov 2012 11:30:24 +0100 Subject: [PATCH 1/1] tags script --- scripts/make-tags | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/make-tags diff --git a/scripts/make-tags b/scripts/make-tags new file mode 100755 index 00000000..0f2d26cc --- /dev/null +++ b/scripts/make-tags @@ -0,0 +1,13 @@ +#!/bin/bash + +ROOT=$(git rev-parse --show-toplevel) + +find $ROOT -name '*.py' | xargs etags -o ${ROOT}/TAGS +if [ -n "$VIRTUAL_ENV" ]; then + find ${VIRTUAL_ENV}/lib -name '*.py' |xargs etags -a -o ${ROOT}/TAGS +else + echo "No Virtual env enabled, will not add it to TAGS" +fi + +find $ROOT/redakcja/static/css -name '*.css' |xargs etags -a -o ${ROOT}/TAGS +find $ROOT/redakcja/static/js -name '*.js' |xargs etags -a -o ${ROOT}/TAGS -- 2.20.1