Skip to content

Commit

Permalink
Make tags more verbose
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bock <[email protected]>
  • Loading branch information
nicolasbock committed Feb 11, 2020
1 parent 058dede commit 8a6e017
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions update_tags.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash

basedir=$(dirname $0)
readarray -t files < <(git ls-files '*.c' '*.h' '*.F90')
set -x

basedir=$(readlink --canonicalize $(dirname $0))
pushd "${basedir}" || exit
readarray -t files < <(git ls-files '*.c' '*.h' '*.F90')
ctags "${files[@]}"
etags "${files[@]}"
popd || exit

0 comments on commit 8a6e017

Please sign in to comment.