Skip to content

Commit 864f954

Browse files
committed
Adjust Linguist options
1 parent bb637c9 commit 864f954

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.gitattributes

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
# and a whole lot of actually vendored code isn't listed! What we want to do is
88
# make the stats accurate for what is actually runtime code.
99

10-
# Ignore everything that isn't actually runtime code
10+
# Note that changes to this file have to be *committed* for github-linguist to
11+
# notice them.
12+
13+
# Non-runtime code
1114

1215
/bench/* linguist-vendored
1316
/bin/* linguist-vendored
@@ -23,22 +26,22 @@
2326
/lib/json/tools/* linguist-vendored
2427
/src/main/c/Makefile linguist-vendored
2528
/src/main/c/truffleposix/Makefile linguist-vendored
29+
/lib/ruby/gems/*/gems/*/bin/setup linguist-vendored
30+
/lib/truffle/post_install_hook.sh linguist-vendored
31+
/src/test/* linguist-vendored
32+
/src/processor/* linguist-vendored
2633

27-
# Some things that I just want to ignore as it skews things
28-
29-
/lib/ruby/gems/2.3.0/gems/net-telnet-0.1.1/bin/setup linguist-vendored
30-
31-
# Ignore generated code
34+
# Generated code
3235

3336
/src/main/java/org/truffleruby/parser/parser/RubyParser.java linguist-generated
3437

35-
# Ignore templates
38+
# templates
3639

3740
/lib/mri/rdoc/generator/template/* linguist-vendored
3841

39-
# Ignore extra documentation
42+
# Documentation
4043

41-
/lib/ruby/gems/2.3.0/gems/rake-10.4.2/doc/rake.1 linguist-documentation
44+
/lib/ruby/gems/*/gems/*/doc/* linguist-documentation
4245

4346
# All our headers are C - don't magically work out they're ObjectiveC or C++
4447

0 commit comments

Comments
 (0)