Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
28 lines (28 loc) · 1.77 KB
/
Copy path.gitattributes
File metadata and controls
28 lines (28 loc) · 1.77 KB
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
# Preserve canonical source receipts and the runtime icon-discovery snapshot.
.gitattributes text eol=lf
/crates/look/icons/design/requested_icons.txt text eol=lf
# Shaders reach the code through include_str!, and tests match multi-line WGSL excerpts
# written as Rust strings (always LF), so a CRLF checkout must not change them (#13138).
*.wgsl text eol=lf
# The plugin test fixture is read with include_str! and patched with multi-line excerpts written
# as Rust strings (always LF), so a CRLF checkout must not change it (#17299).
*.wat text eol=lf
# A kernel test compares this STEP file, read with include_str!, with the block it builds as a Rust
# string (always LF), so a CRLF checkout must not change it.
/tests/step-regressions/block_edge_off_its_face.step text eol=lf
# solidcore's build.rs turns each UpstreamFixes flag file into that field's doc, so a CRLF
# checkout must not change it.
solidcore/crates/solidcore-kernel/src/kernel/fixes/*.md text eol=lf
# A UI kit test compares the generated plugin UI files with what the generator writes (always
# LF), so a CRLF checkout must not change them.
/crates/ui-kit/plugin-ui/* text eol=lf
# SolidCraft designs (.sc): a JSON document or a ZIP container, never Scala source, so they
# stay out of GitHub's language statistics. Git's own text/binary detection handles both kinds.
*.sc -linguist-detectable
# The kernel is vendored with git subtree, keeping its own history and licence: it must not look
# like SolidCraft source in GitHub's language statistics.
solidcore/** linguist-vendored
# The thread tests check every file of their oracle data byte for byte (length and hash), and the
# database writes them with CRLF line ends: git stores and checks them out unchanged, on every
# platform.
solidcore/crates/solidcore/tests/data/threads/** -text