forked from oss-review-toolkit/ort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
44 lines (33 loc) · 1.95 KB
/
.gitattributes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Always use Unix line endings for the license file so it has the same hash on all platforms.
/LICENSE text eol=lf
# Always use Unix line endings for Unix shell scripts.
gradlew text eol=lf
*.sh text eol=lf
# Always use Windows line endings for Windows batch scripts.
*.bat text eol=crlf
*.cmd text eol=crlf
# Use Unix line endings for SPDX files as they might be referenced by checksum.
analyzer/src/funTest/assets/projects/synthetic/spdx/**/*.spdx.* text eol=lf
# Use Unix line endings for expected test results for consistency across platforms.
**/src/*/assets/**/*expected*.yml text eol=lf
reporter/src/funTest/assets/*-expected-* text eol=lf
# Use Unix line endings for Freemarker templates for consistency across platforms.
reporter/src/main/resources/**/*.ftl text eol=lf
# Use Unix line endings for scan results which are misused for also testing the calculation of the SPDX package verification code.
scanner/src/test/assets/*.json text eol=lf
# Use Unix line endings for JavaScript source code to avoid problems with eslint.
reporter-web-app/**/*.js text eol=lf
# Use Unix line endings for SPDX license texts for consistency across platforms.
utils/spdx/src/main/resources/exceptions/* text eol=lf
utils/spdx/src/main/resources/licenserefs/* text eol=lf
utils/spdx/src/main/resources/licenses/* text eol=lf
# Fix GitHub language statistics, see https://github.com/github/linguist#using-gitattributes.
reporter-web-app/public/index.html linguist-generated=true
utils/spdx/src/main/resources/exceptions/* linguist-detectable=false
utils/spdx/src/main/resources/licenserefs/* linguist-detectable=false
utils/spdx/src/main/resources/licenses/* linguist-detectable=false
# Use Unix line endings for the expected control file of a Debian package.
utils/common/src/test/assets/control-expected.txt text eol=lf
# Use Unix line endings for *.graphql files. This is mainly done to prevent that tests need to fiddle with
# different platform-specific line endings.
*.graphql text eol=lf