Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Tests: shader files keep LF line ends on Windows checkouts, so the GPU volume shader test passes there (#13138) (#13244)

0rdnungsamt98fdb6ef3c11
diff --git a/.gitattributes b/.gitattributes
index 0ff3cca6dc..7780e68fc7 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,6 +1,9 @@
# Preserve canonical source receipts and the runtime icon-discovery snapshot.
.gitattributes text eol=lf
/assets/icons/ui/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
# 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