dotfiles/.bin/OLD/cscope-update
2024-02-14 07:55:58 +01:00

13 lines
344 B
Bash
Executable File

#!/bin/sh
. ~/.bin/_config
set -ex
find "${DEVDIR}" -type f \
\( -name "*.c" \
-o -name "*.cc" \
-o -name "*.cpp" \
-o -name "*.c" \
-o -name "*.hh" \
-o -name "*.hpp" \
\) > /home/sdk/cscope.files
cscope -qbkCRvf /home/sdk/cscope.out -i/home/sdk/cscope.files