Debian Codegraph @

.utilsrc

raw
1 # vim: set ft=ruby:
2
3 search do
4 prune_dirs /\A(\.svn|\.git|CVS|tmp|tags|coverage|pkg|doc|\.yardoc)\z/
5 skip_files /(\A\.|\.sw[pon]\z|\.(log|fnm|jpg|jpeg|png|pdf|svg)\z|tags|~\z)/i
6 end
7
8 discover do
9 prune_dirs /\A(\.svn|\.git|CVS|tmp|tags|coverage|pkg|doc|\.yardoc)\z/
10 skip_files /(\A\.|\.sw[pon]\z|\.log\z|~\z)/
11 end
12
13 strip_spaces do
14 prune_dirs /\A(\..*|CVS|pkg|doc|\.yardoc)\z/
15 skip_files /(\A\.|\.sw[pon]\z|\.log\z|~\z)/
16 end
17
18 probe do
19 test_framework :'test-unit'
20 end
21
22 ssh_tunnel do
23 terminal_multiplexer :tmux
24 end
25
26 code_indexer do
27 verbose false
28
29 gems = %w[
30 base64
31 bigdecimal
32 date
33 json
34 mize
35 ostruct
36 stringio
37 sync
38 term-ansicolor
39 test-unit
40 ]
41
42 paths {
43 %w[ lib ] + gems.map { `bundle show #{it}` }.map(&:chomp)
44 }
45 end