summaryrefslogtreecommitdiff
path: root/.gitattributes
blob: 567cbab999e825037c2d401c8e385dc3493432c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* text=auto
*.c text
*.h text
*.js text
*.l text
*.md text
*.py text
*.rst text
*.sh text
*.txt text
*.y text
demo/primer.css binary
demo/libwabt.js binary
demo/third_party/codemirror/codemirror.css binary
demo/third_party/codemirror/codemirror.js binary

# Mark this test as binary so git doesn't change the line endings, since this
# test is testing \r\n.
test/parse/bad-crlf.txt binary

# Highlight tests like .wast files when displayed on GitHub.
test/**/*.txt linguist-language=WebAssembly

# Mark test-files as "vendored". This tells GitHub to exclude them when it
# calculates the repository's languages summary, and preserves the current
# classification as a C++ project. See https://git.io/vr2pO
test/**/*.txt linguist-vendored