-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy path.gitattributes
More file actions
16 lines (14 loc) · 902 Bytes
/
Copy path.gitattributes
File metadata and controls
16 lines (14 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Generated API-surface snapshots are written with LF by tools/api-surface.mjs.
# Pin the line ending so a CRLF checkout on Windows can't masquerade as API drift
# and fail the CI api-surface guard on a Linux runner.
sdk/etc/*.api.md text eol=lf
# The built-in UI widget prefabs and the data module beside them are rewritten
# with LF by tests/ui-widget-prefabs.gen.test.ts every time the suite runs. Left
# unpinned they check out as CRLF, so the index's cached size never matches what
# the generator just wrote and git reports ten modified files with no diff in
# them — for as long as anyone runs the tests.
sdk/src/ui/widgets/prefabs/* text eol=lf
# A generated WGSL twin stores a hash of the GLSL above it, taken over the bytes
# on disk. A CRLF checkout changes those bytes, so every twin reads as stale and
# regenerating writes a hash no Linux runner can reproduce.
*.esshader text eol=lf