From a95d4edeb53bba740307909940ef80e269aaa6a8 Mon Sep 17 00:00:00 2001 From: rayelliott Date: Fri, 29 May 2020 15:04:42 +0000 Subject: [PATCH] add scripts to scan tags --- tagscan-external.sh | 4 ++++ tagscan.sh | 3 +++ 2 files changed, 7 insertions(+) create mode 100755 tagscan-external.sh create mode 100755 tagscan.sh diff --git a/tagscan-external.sh b/tagscan-external.sh new file mode 100755 index 0000000..212bbd0 --- /dev/null +++ b/tagscan-external.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +if [ -f '.tags-external' ] ; then rm .tags-external; fi +ctags -R -o .tags-external -a ./wp-includes diff --git a/tagscan.sh b/tagscan.sh new file mode 100755 index 0000000..17d0a0f --- /dev/null +++ b/tagscan.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +ctags -R -o .tags --exclude='node_modules/*' --exclude='wp-includes' *