forked from oss-review-toolkit/ort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
33 lines (25 loc) · 1.57 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
# 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
# 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.
spdx-utils/src/main/resources/exceptions/* text eol=lf
spdx-utils/src/main/resources/licenserefs/* text eol=lf
spdx-utils/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
spdx-utils/src/main/resources/exceptions/* linguist-detectable=false
spdx-utils/src/main/resources/licenserefs/* linguist-detectable=false
spdx-utils/src/main/resources/licenses/* linguist-detectable=false