40147740f090da32b136cbf05d6258bd9e1d3fa2
David Blume first commit

David Blume authored 8 years ago

1) #/bin/bash
2) set -eu -o pipefail # See: https://sipb.mit.edu/doc/safe-shell/
3) 
David Blume Remove unused ctags param;...

David Blume authored 6 years ago

4) ctags -n --if0=yes --langmap=c++:+.inl --c++-kinds=+p -R --extra=q \
David Blume Make ctags and cscope more...

David Blume authored 6 years ago

5)     --exclude=.git \
David Blume Simplify maketags.sh

David Blume authored 6 years ago

6)     --exclude=obj \
7)     --exclude=lib \
David Blume first commit

David Blume authored 8 years ago

8)     --exclude='*generated/*'
9) 
10) find . -mindepth 1 \
David Blume Simplify maketags.sh

David Blume authored 6 years ago

11)         -path './.git' -prune \
12)     -or -path './include' -prune \
13)     -or -path './lib' -prune \
14)     -or -path '*/obj' -prune \
15)     -or -path '*/generated' -prune \
16)     -or -type d -print | while read i
David Blume first commit

David Blume authored 8 years ago

17) do
18)     pushd "$i" 1> /dev/null
David Blume Remove unused ctags param;...

David Blume authored 6 years ago

19)     ctags -n --if0=yes --langmap=c++:+.inl --c++-kinds=+p -R --extra=q \
David Blume Simplify maketags.sh

David Blume authored 6 years ago

20)         --exclude=obj \
David Blume first commit

David Blume authored 8 years ago

21)         --exclude='*generated/*'
22)     popd 1> /dev/null
23) done
24) 
25) # Finally, there'll be empty tags files, unlink those