mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-29 01:33:46 +00:00
Bash script to generate cscope files
This commit is contained in:
parent
af80771c2e
commit
e718a21e49
2 changed files with 6 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
cscope.in.out
|
cscope.in.out
|
||||||
cscope.po.out
|
cscope.po.out
|
||||||
cscope.out
|
cscope.out
|
||||||
|
cscope.files
|
||||||
tags
|
tags
|
||||||
autom4te.cache/
|
autom4te.cache/
|
||||||
|
|
5
cscope_gen.sh
Executable file
5
cscope_gen.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
find . \( -path './action_skel_code' -prune -o -path './.git' -prune -o -path './lib' -prune -o -path '*/gtest' -prune -o -name '*.cpp' -o -name '*.inl' -o -name '*.hpp' -o -name '*.h' -o -name '*.c' \) -a -type f > cscope.files
|
||||||
|
|
||||||
|
cscope -b -q
|
Loading…
Reference in a new issue